#121E4D#121E4D

#121E4D is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.7% C 0.088 H 268.6°. Best body text is #FFFFFF at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#121E4D
RGBrgb(18, 30, 77)
HSLhsl(228, 62%, 19%)
HSVhsv(228, 77%, 30%)
CMYKcmyk(76.6%, 61%, 0%, 69.8%)
CIE-LABlab(13.19, 13.44, -30.63)
CIE-LCHlch(13.19, 33.45, 293.69°)
OKLaboklab(25.67% -0.0021 -0.0882)
OKLCHoklch(25.67% 0.088 268.6)
XYZxyz(2.0528, 1.5928, 7.2190)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121E4D #4D4112
analogous
#123B4D #121E4D #23124D
triadic
#121E4D #4D121E #1E4D12
tetradic
#121E4D #4D123B #4D4112 #124D23
square
#121E4D #4D123B #4D4112 #124D23
split-complementary
#121E4D #4D2312 #3B4D12
monochromatic
#060A19 #060B1B #121E4D #1E317F #2945B0

Accessibility & contrast

On white

15.93
#121E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#121E4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121E4D
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121E4D#FFFFFF#000000##FFFFFF
##121E4D1.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00254F
Deuteranopia (green-blind)
#001F4C
Tritanopia (blue-blind)
#002932
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #121e4d;
/* rgb */ color: rgb(18, 30, 77);
/* oklch */ color: oklch(25.7% 0.088 268.6);
Tailwind
colors: {
  custom: {
    50: '#59597f',
    500: '#121e4d',
    950: '#000000',
  },
}
SCSS
$custom: #121e4d;
$custom-light: #59597f;
$custom-dark: #000000;
JSON
{
  "hex": "#121e4d",
  "rgb": {
    "r": 18,
    "g": 30,
    "b": 77
  },
  "hsl": {
    "h": 227.797,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.25665,
    "c": 0.0882,
    "h": 268.6
  },
  "luminance": 0.01593
}

Semantic roles & 50–950 ramp

primary
#121E4D
secondary
#867535
accent
#C443E5
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #121E4D

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

Preview Lab → · Contrast checker → · Palette generator →

#121E4D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva