#122E67#122E67

#122E67 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.7% C 0.106 H 262.4°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#122E67
RGBrgb(18, 46, 103)
HSLhsl(220, 70%, 24%)
HSVhsv(220, 83%, 40%)
CMYKcmyk(82.5%, 55.3%, 0%, 59.6%)
CIE-LABlab(20.29, 12.64, -36.49)
CIE-LCHlch(20.29, 38.61, 289.11°)
OKLaboklab(31.72% -0.014 -0.1051)
OKLCHoklch(31.72% 0.106 262.4)
XYZxyz(3.6738, 3.0614, 13.2266)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122E67 #674B12
analogous
#125867 #122E67 #201267
triadic
#122E67 #67122E #2E6712
tetradic
#122E67 #671258 #674B12 #126720
square
#122E67 #671258 #674B12 #126720
split-complementary
#122E67 #672012 #586712
monochromatic
#050C1A #091733 #122E67 #1B459B #245DCF

Accessibility & contrast

On white

13.02
#122E67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#122E67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122E67
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122E67#FFFFFF#000000##FFFFFF
##122E671.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063569
Deuteranopia (green-blind)
#002D66
Tritanopia (blue-blind)
#003C45
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #122e67;
/* rgb */ color: rgb(18, 46, 103);
/* oklch */ color: oklch(31.7% 0.106 262.4);
Tailwind
colors: {
  custom: {
    50: '#5f6693',
    500: '#122e67',
    950: '#000000',
  },
}
SCSS
$custom: #122e67;
$custom-light: #5f6693;
$custom-dark: #000000;
JSON
{
  "hex": "#122e67",
  "rgb": {
    "r": 18,
    "g": 46,
    "b": 103
  },
  "hsl": {
    "h": 220.235,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.31718,
    "c": 0.10602,
    "h": 262.4
  },
  "luminance": 0.03062
}

Semantic roles & 50–950 ramp

primary
#122E67
secondary
#9F7C36
accent
#B23BED
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05050D
muted
#797A7E

Preview Lab

Preview with #122E67

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

Preview Lab → · Contrast checker → · Palette generator →

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