#122D6E#122D6E

#122D6E is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.1% C 0.118 H 263.9°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#122D6E
RGBrgb(18, 45, 110)
HSLhsl(222, 72%, 25%)
HSVhsv(222, 84%, 43%)
CMYKcmyk(83.6%, 59.1%, 0%, 56.9%)
CIE-LABlab(20.56, 16.35, -40.58)
CIE-LCHlch(20.56, 43.75, 291.94°)
OKLaboklab(32.1% -0.0125 -0.1172)
OKLCHoklch(32.1% 0.118 263.9)
XYZxyz(4.0013, 3.1307, 15.1422)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122D6E #6E5312
analogous
#125B6E #122D6E #25126E
triadic
#122D6E #6E122D #2D6E12
tetradic
#122D6E #6E125B #6E5312 #126E25
square
#122D6E #6E125B #6E5312 #126E25
split-complementary
#122D6E #6E2512 #5B6E12
monochromatic
#040B1A #091739 #122D6E #1B43A3 #2358D7

Accessibility & contrast

On white

12.91
#122D6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#122D6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122D6E
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122D6E#FFFFFF#000000##FFFFFF
##122D6E1.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003670
Deuteranopia (green-blind)
#002D6D
Tritanopia (blue-blind)
#003D48
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #122d6e;
/* rgb */ color: rgb(18, 45, 110);
/* oklch */ color: oklch(32.1% 0.118 263.9);
Tailwind
colors: {
  custom: {
    50: '#616598',
    500: '#122d6e',
    950: '#000000',
  },
}
SCSS
$custom: #122d6e;
$custom-light: #616598;
$custom-dark: #000000;
JSON
{
  "hex": "#122d6e",
  "rgb": {
    "r": 18,
    "g": 45,
    "b": 110
  },
  "hsl": {
    "h": 222.391,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.32105,
    "c": 0.11784,
    "h": 263.9
  },
  "luminance": 0.03131
}

Semantic roles & 50–950 ramp

primary
#122D6E
secondary
#A58537
accent
#B939EF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #122D6E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#122D6E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva