Skip to content

#122AAF Color

#122AAF is rgb(18, 42, 175) in RGB, hsl(231, 81%, 38%) in HSL, and about cmyk(90%, 76%, 0%, 31%) in CMYK. It has no registered color name of its own — the closest is Persian Blue (#1C39BB), clearly related but distinguishable side by side at ΔE 6.82. White text is the more readable choice on this background.

#122AAF
HEX#122AAF
RGBrgb(18, 42, 175)
HSLhsl(231, 81%, 38%)
HSVhsv(231, 90%, 69%)
CMYKcmyk(90%, 76%, 0%, 31%)
OKLCHoklch(38.3% 0.207 266.1)
LABlab(24.93% 34.98 -73.51)
LCHlch(24.93% 81.41 295.45)

What #122AAF Is Called

Most hex codes have no name: there are 16.7 million of them and a few thousand registered names. These are the named colors nearest to #122AAF, ordered by CIE76 distance in CIELAB. Anything under about ΔE 2 is a difference most people cannot see.

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

#122AAF Channel Values

How #122AAF 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 18 · G 42 · B 1758-bit channels as sent to the display
HSLH 231° · S 81% · L 38%Easiest model for building lighter and darker variants
HSVH 231° · S 90% · V 69%Matches the picker in most design tools
CMYKC 90% · M 76% · Y 0% · K 31%Approximate ink mix; confirm with an ICC profile before printing
Luminance10.63:1 vs white · 1.98:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #122AAF 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 text10.63:1AA normal AA large AAA normal
Fails AABlack text1.98:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #122AAF in the contrast checker.

Colors That Go With #122AAF

Pairings derived from color-wheel relationships. The complementary color sits opposite #122AAF; 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 #122AAF

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 #122AAF.

How #122AAF 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#122AAF
Protanopia#2727AF
Protanomaly#2028AF
Deuteranopia#2424AF
Deuteranomaly#1E26AF
Tritanopia#004D4D
Tritanomaly#004280
Achromatopsia#3E3E3E

Test a full palette in the color blindness simulator.

Using #122AAF in Code

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

CSS custom property--color-122aaf: #122AAF;
CSS backgroundbackground-color: #122AAF;
Tailwind configcolors: { 'color-122aaf': '#122AAF' }
SwiftUIColor(red: 0.071, green: 0.165, blue: 0.686)
Android XML<color name="color_122aaf">#122AAF</color>
SVG fillfill="#122AAF"

More Blue Colors

#122AAF sits in the blue family. These are its neighbours across that family's full range, each with its own breakdown.

#122AAF Frequently Asked Questions

What color is #122AAF?

#122AAF is a dark blue — rgb(18, 42, 175) in RGB and hsl(231, 81%, 38%) in HSL. It carries no registered color name of its own; the closest named color is Persian Blue (#1C39BB), which is clearly related but distinguishable side by side at a CIE76 distance of 6.82.

What is the RGB value of #122AAF?

#122AAF is rgb(18, 42, 175) — red 18, green 42, and blue 175 on the 0-255 scale.

What is the CMYK value of #122AAF?

#122AAF converts to approximately cmyk(90%, 76%, 0%, 31%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #122AAF be black or white?

White text is the more readable choice. #122AAF scores 10.63:1 against white and 1.98:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #122AAF as a CSS color keyword?

No. #122AAF 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 darkblue (#00008B) at a CIE76 distance of 14.79, which is visibly different.

Open #122AAF in a Tool

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