#122F6A#122F6A

#122F6A is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.2% C 0.109 H 262.4°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#122F6A
RGBrgb(18, 47, 106)
HSLhsl(220, 71%, 24%)
HSVhsv(220, 83%, 42%)
CMYKcmyk(83%, 55.7%, 0%, 58.4%)
CIE-LABlab(20.83, 13.19, -37.55)
CIE-LCHlch(20.83, 39.80, 289.36°)
OKLaboklab(32.21% -0.0145 -0.1082)
OKLCHoklch(32.21% 0.109 262.4)
XYZxyz(3.8666, 3.2018, 14.0471)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122F6A #6A4D12
analogous
#125B6A #122F6A #21126A
triadic
#122F6A #6A122F #2F6A12
tetradic
#122F6A #6A125B #6A4D12 #126A21
square
#122F6A #6A125B #6A4D12 #126A21
split-complementary
#122F6A #6A2112 #5B6A12
monochromatic
#040C1A #091836 #122F6A #1B469E #245DD3

Accessibility & contrast

On white

12.80
#122F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#122F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122F6A
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122F6A#FFFFFF#000000##FFFFFF
##122F6A1.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04366C
Deuteranopia (green-blind)
#002E69
Tritanopia (blue-blind)
#003D47
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #122f6a;
/* rgb */ color: rgb(18, 47, 106);
/* oklch */ color: oklch(32.2% 0.109 262.4);
Tailwind
colors: {
  custom: {
    50: '#606695',
    500: '#122f6a',
    950: '#000000',
  },
}
SCSS
$custom: #122f6a;
$custom-light: #606695;
$custom-dark: #000000;
JSON
{
  "hex": "#122f6a",
  "rgb": {
    "r": 18,
    "g": 47,
    "b": 106
  },
  "hsl": {
    "h": 220.227,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.32209,
    "c": 0.10917,
    "h": 262.4
  },
  "luminance": 0.03202
}

Semantic roles & 50–950 ramp

primary
#122F6A
secondary
#A27E36
accent
#B33AEE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #122F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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