#122E57#122E57

#122E57 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.4% C 0.081 H 258.1°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#122E57
RGBrgb(18, 46, 87)
HSLhsl(216, 66%, 21%)
HSVhsv(216, 79%, 34%)
CMYKcmyk(79.3%, 47.1%, 0%, 65.9%)
CIE-LABlab(19.10, 5.77, -27.86)
CIE-LCHlch(19.10, 28.45, 281.70°)
OKLaboklab(30.43% -0.0168 -0.0797)
OKLCHoklch(30.43% 0.081 258.1)
XYZxyz(2.9461, 2.7704, 9.3944)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122E57 #573B12
analogous
#125057 #122E57 #181257
triadic
#122E57 #57122E #2E5712
tetradic
#122E57 #571250 #573B12 #125718
square
#122E57 #571250 #573B12 #125718
split-complementary
#122E57 #571812 #505712
monochromatic
#050D19 #081324 #122E57 #1C498A #2764BC

Accessibility & contrast

On white

13.51
#122E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#122E57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122E57
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122E57#FFFFFF#000000##FFFFFF
##122E571.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3259
Deuteranopia (green-blind)
#0D2B56
Tritanopia (blue-blind)
#00383E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #122e57;
/* rgb */ color: rgb(18, 46, 87);
/* oklch */ color: oklch(30.4% 0.081 258.1);
Tailwind
colors: {
  custom: {
    50: '#5b6687',
    500: '#122e57',
    950: '#000000',
  },
}
SCSS
$custom: #122e57;
$custom-light: #5b6687;
$custom-dark: #000000;
JSON
{
  "hex": "#122e57",
  "rgb": {
    "r": 18,
    "g": 46,
    "b": 87
  },
  "hsl": {
    "h": 215.652,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30426,
    "c": 0.08145,
    "h": 258.1
  },
  "luminance": 0.02771
}

Semantic roles & 50–950 ramp

primary
#122E57
secondary
#906B35
accent
#A43FE9
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C

Preview Lab

Preview with #122E57

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

Preview Lab → · Contrast checker → · Palette generator →

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