#121957#121957

#121957 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.6% C 0.111 H 271.0°. Best body text is #FFFFFF at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#121957
RGBrgb(18, 25, 87)
HSLhsl(234, 66%, 21%)
HSVhsv(234, 79%, 34%)
CMYKcmyk(79.3%, 71.3%, 0%, 65.9%)
CIE-LABlab(12.68, 21.34, -38.26)
CIE-LCHlch(12.68, 43.81, 299.15°)
OKLaboklab(25.59% 0.0019 -0.1106)
OKLCHoklch(25.59% 0.111 271)
XYZxyz(2.3168, 1.5117, 9.1847)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121957 #575012
analogous
#123B57 #121957 #2D1257
triadic
#121957 #571219 #195712
tetradic
#121957 #57123B #575012 #12572D
square
#121957 #57123B #575012 #12572D
split-complementary
#121957 #572D12 #3B5712
monochromatic
#050719 #080A24 #121957 #1C288A #2736BC

Accessibility & contrast

On white

16.12
#121957 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#121957 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121957
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121957#FFFFFF#000000##FFFFFF
##1219571.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002459
Deuteranopia (green-blind)
#001E56
Tritanopia (blue-blind)
#002935
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #121957;
/* rgb */ color: rgb(18, 25, 87);
/* oklch */ color: oklch(25.6% 0.111 271.0);
Tailwind
colors: {
  custom: {
    50: '#5c5587',
    500: '#121957',
    950: '#000000',
  },
}
SCSS
$custom: #121957;
$custom-light: #5c5587;
$custom-dark: #000000;
JSON
{
  "hex": "#121957",
  "rgb": {
    "r": 18,
    "g": 25,
    "b": 87
  },
  "hsl": {
    "h": 233.913,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.25587,
    "c": 0.11065,
    "h": 271
  },
  "luminance": 0.01512
}

Semantic roles & 50–950 ramp

primary
#121957
secondary
#908635
accent
#D73FE9
background
#F5F5F8
surface
#E9E8EF
border
#C5C4CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #121957

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

Preview Lab → · Contrast checker → · Palette generator →

#121957 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva