#122E5A#122E5A

#122E5A is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.7% C 0.086 H 259.2°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#122E5A
RGBrgb(18, 46, 90)
HSLhsl(217, 67%, 21%)
HSVhsv(217, 80%, 35%)
CMYKcmyk(80%, 48.9%, 0%, 64.7%)
CIE-LABlab(19.31, 7.06, -29.52)
CIE-LCHlch(19.31, 30.35, 283.45°)
OKLaboklab(30.66% -0.0161 -0.0846)
OKLCHoklch(30.66% 0.086 259.2)
XYZxyz(3.0712, 2.8204, 10.0534)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122E5A #5A3E12
analogous
#12525A #122E5A #1A125A
triadic
#122E5A #5A122E #2E5A12
tetradic
#122E5A #5A1252 #5A3E12 #125A1A
square
#122E5A #5A1252 #5A3E12 #125A1A
split-complementary
#122E5A #5A1A12 #525A12
monochromatic
#050D1A #081427 #122E5A #1C488D #2662C0

Accessibility & contrast

On white

13.43
#122E5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#122E5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122E5A
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122E5A#FFFFFF#000000##FFFFFF
##122E5A1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17325C
Deuteranopia (green-blind)
#082C59
Tritanopia (blue-blind)
#00383F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #122e5a;
/* rgb */ color: rgb(18, 46, 90);
/* oklch */ color: oklch(30.7% 0.086 259.2);
Tailwind
colors: {
  custom: {
    50: '#5b6689',
    500: '#122e5a',
    950: '#000000',
  },
}
SCSS
$custom: #122e5a;
$custom-light: #5b6689;
$custom-dark: #000000;
JSON
{
  "hex": "#122e5a",
  "rgb": {
    "r": 18,
    "g": 46,
    "b": 90
  },
  "hsl": {
    "h": 216.667,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30656,
    "c": 0.08611,
    "h": 259.2
  },
  "luminance": 0.02821
}

Semantic roles & 50–950 ramp

primary
#122E5A
secondary
#936E35
accent
#A73EEA
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04050B
muted
#797A7C

Preview Lab

Preview with #122E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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