#122E6B#122E6B

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

Color values

HEX#122E6B
RGBrgb(18, 46, 107)
HSLhsl(221, 71%, 25%)
HSVhsv(221, 83%, 42%)
CMYKcmyk(83.2%, 57%, 0%, 58%)
CIE-LABlab(20.61, 14.35, -38.56)
CIE-LCHlch(20.61, 41.14, 290.41°)
OKLaboklab(32.07% -0.0136 -0.1112)
OKLCHoklch(32.07% 0.112 263)
XYZxyz(3.8793, 3.1437, 14.3094)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122E6B #6B4F12
analogous
#125B6B #122E6B #23126B
triadic
#122E6B #6B122E #2E6B12
tetradic
#122E6B #6B125B #6B4F12 #126B23
square
#122E6B #6B125B #6B4F12 #126B23
split-complementary
#122E6B #6B2312 #5B6B12
monochromatic
#040B1A #091737 #122E6B #1B459F #245BD4

Accessibility & contrast

On white

12.89
#122E6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122E6B
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122E6B#FFFFFF#000000##FFFFFF
##122E6B1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366D
Deuteranopia (green-blind)
#002E6A
Tritanopia (blue-blind)
#003D47
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #122e6b;
/* rgb */ color: rgb(18, 46, 107);
/* oklch */ color: oklch(32.1% 0.112 263.0);
Tailwind
colors: {
  custom: {
    50: '#606696',
    500: '#122e6b',
    950: '#000000',
  },
}
SCSS
$custom: #122e6b;
$custom-light: #606696;
$custom-dark: #000000;
JSON
{
  "hex": "#122e6b",
  "rgb": {
    "r": 18,
    "g": 46,
    "b": 107
  },
  "hsl": {
    "h": 221.124,
    "s": 71.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.32065,
    "c": 0.11202,
    "h": 263
  },
  "luminance": 0.03144
}

Semantic roles & 50–950 ramp

primary
#122E6B
secondary
#A28036
accent
#B53AEE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#05050D
muted
#7A7A7E

Preview Lab

Preview with #122E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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