#122E5D#122E5D

#122E5D is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.9% C 0.091 H 260.1°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#122E5D
RGBrgb(18, 46, 93)
HSLhsl(218, 68%, 22%)
HSVhsv(218, 81%, 36%)
CMYKcmyk(80.6%, 50.5%, 0%, 63.5%)
CIE-LABlab(19.53, 8.35, -31.16)
CIE-LCHlch(19.53, 32.25, 285.00°)
OKLaboklab(30.89% -0.0155 -0.0894)
OKLCHoklch(30.89% 0.091 260.1)
XYZxyz(3.2015, 2.8725, 10.7395)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122E5D #5D4112
analogous
#12545D #122E5D #1C125D
triadic
#122E5D #5D122E #2E5D12
tetradic
#122E5D #5D1254 #5D4112 #125D1C
square
#122E5D #5D1254 #5D4112 #125D1C
split-complementary
#122E5D #5D1C12 #545D12
monochromatic
#050D1A #08152A #122E5D #1C4790 #2661C4

Accessibility & contrast

On white

13.34
#122E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#122E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122E5D
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122E5D#FFFFFF#000000##FFFFFF
##122E5D1.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15335F
Deuteranopia (green-blind)
#032C5C
Tritanopia (blue-blind)
#003941
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #122e5d;
/* rgb */ color: rgb(18, 46, 93);
/* oklch */ color: oklch(30.9% 0.091 260.1);
Tailwind
colors: {
  custom: {
    50: '#5c668b',
    500: '#122e5d',
    950: '#000000',
  },
}
SCSS
$custom: #122e5d;
$custom-light: #5c668b;
$custom-dark: #000000;
JSON
{
  "hex": "#122e5d",
  "rgb": {
    "r": 18,
    "g": 46,
    "b": 93
  },
  "hsl": {
    "h": 217.6,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.30892,
    "c": 0.09075,
    "h": 260.1
  },
  "luminance": 0.02873
}

Semantic roles & 50–950 ramp

primary
#122E5D
secondary
#957235
accent
#AA3DEA
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #122E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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