#122F67#122F67

#122F67 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.0% C 0.105 H 261.8°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#122F67
RGBrgb(18, 47, 103)
HSLhsl(220, 70%, 24%)
HSVhsv(220, 83%, 40%)
CMYKcmyk(82.5%, 54.4%, 0%, 59.6%)
CIE-LABlab(20.60, 11.91, -35.98)
CIE-LCHlch(20.60, 37.90, 288.31°)
OKLaboklab(31.95% -0.0148 -0.1036)
OKLCHoklch(31.95% 0.105 261.8)
XYZxyz(3.7133, 3.1405, 13.2398)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122F67 #674A12
analogous
#125967 #122F67 #1F1267
triadic
#122F67 #67122F #2F6712
tetradic
#122F67 #671259 #674A12 #12671F
square
#122F67 #671259 #674A12 #12671F
split-complementary
#122F67 #671F12 #596712
monochromatic
#050C1A #091733 #122F67 #1B479B #245FCF

Accessibility & contrast

On white

12.90
#122F67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122F67
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122F67#FFFFFF#000000##FFFFFF
##122F671.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3669
Deuteranopia (green-blind)
#002E66
Tritanopia (blue-blind)
#003D46
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #122f67;
/* rgb */ color: rgb(18, 47, 103);
/* oklch */ color: oklch(32.0% 0.105 261.8);
Tailwind
colors: {
  custom: {
    50: '#5f6693',
    500: '#122f67',
    950: '#000000',
  },
}
SCSS
$custom: #122f67;
$custom-light: #5f6693;
$custom-dark: #000000;
JSON
{
  "hex": "#122f67",
  "rgb": {
    "r": 18,
    "g": 47,
    "b": 103
  },
  "hsl": {
    "h": 219.529,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.31954,
    "c": 0.10466,
    "h": 261.8
  },
  "luminance": 0.03141
}

Semantic roles & 50–950 ramp

primary
#122F67
secondary
#9F7B36
accent
#B03BED
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05060D
muted
#797A7E

Preview Lab

Preview with #122F67

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

Preview Lab → · Contrast checker → · Palette generator →

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