Skip to content

St. Patrick's Blue (#23297A)

The hex code for St. Patrick's Blue is #23297A. It is rgb(35, 41, 122) in RGB, hsl(236, 55%, 31%) in HSL, and about cmyk(71%, 66%, 0%, 52%) in CMYK — a dark blue. White text is the more readable choice on this background.

#23297A
HEX#23297A
RGBrgb(35, 41, 122)
HSLhsl(236, 55%, 31%)
HSVhsv(236, 71%, 48%)
CMYKcmyk(71%, 66%, 0%, 52%)
OKLCHoklch(33.3% 0.136 273.2)
LABlab(20.61% 20.49 -47.96)
LCHlch(20.61% 52.15 293.13)

Colors Closest to St. Patrick's Blue

St. Patrick's Blue is a registered color name. These are the named colors nearest to it, measured as CIE76 distance in CIELAB — a perceptual scale, so the ordering matches what the eye sees rather than how close the raw RGB numbers happen to sit.

Browse the full index of named colors A-Z or every blue in the library.

#23297A Channel Values

How St. Patrick's Blue breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 35 · G 41 · B 1228-bit channels as sent to the display
HSLH 236° · S 55% · L 31%Easiest model for building lighter and darker variants
HSVH 236° · S 71% · V 48%Matches the picker in most design tools
CMYKC 71% · M 66% · Y 0% · K 52%Approximate ink mix; confirm with an ICC profile before printing
Luminance12.58:1 vs white · 1.67:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a St. Patrick's Blue background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

TextWhite text12.58:1AA normal AA large AAA normal
TextBlack text1.67:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #23297A in the contrast checker.

Colors That Go With St. Patrick's Blue

Pairings derived from color-wheel relationships. The complementary color sits opposite St. Patrick's Blue; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of St. Patrick's Blue

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #23297A.

How St. Patrick's Blue Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#23297A
Protanopia#28287A
Protanomaly#26287A
Deuteranopia#27277A
Deuteranomaly#26287A
Tritanopia#003B3B
Tritanomaly#0C355B
Achromatopsia#333333

Test a full palette in the color blindness simulator.

Using #23297A in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--st-patrick-s-blue: #23297A;
CSS backgroundbackground-color: #23297A;
Tailwind configcolors: { 'st-patrick-s-blue': '#23297A' }
SwiftUIColor(red: 0.137, green: 0.161, blue: 0.478)
Android XML<color name="st_patrick_s_blue">#23297A</color>
SVG fillfill="#23297A"

More Blue Colors

St. Patrick's Blue sits in the bluefamily. These are its neighbours across that family's full range, each with its own breakdown.

#23297A Frequently Asked Questions

What is the hex code for St. Patrick's Blue?

The hex code for St. Patrick's Blue is #23297A. That is rgb(35, 41, 122) in RGB, hsl(236, 55%, 31%) in HSL, and approximately cmyk(71%, 66%, 0%, 52%) in CMYK.

What is the RGB value of #23297A?

#23297A is rgb(35, 41, 122) — red 35, green 41, and blue 122 on the 0-255 scale.

What is the CMYK value of #23297A?

#23297A converts to approximately cmyk(71%, 66%, 0%, 52%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #23297A be black or white?

White text is the more readable choice. #23297A scores 12.58:1 against white and 1.67:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #23297A as a CSS color keyword?

No. #23297A is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is midnightblue (#191970) at a CIE76 distance of 8.42, which is clearly related but distinguishable side by side.

Open St. Patrick's Blue in a Tool

Keep exploring: every blue in the color library, the guide to shades of blue, or the full color library.