#121E4B#121E4B

#121E4B is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.5% C 0.085 H 268.5°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#121E4B
RGBrgb(18, 30, 75)
HSLhsl(227, 61%, 18%)
HSVhsv(227, 76%, 29%)
CMYKcmyk(76%, 60%, 0%, 70.6%)
CIE-LABlab(13.02, 12.59, -29.53)
CIE-LCHlch(13.02, 32.10, 293.09°)
OKLaboklab(25.48% -0.0023 -0.0849)
OKLCHoklch(25.48% 0.085 268.5)
XYZxyz(1.9833, 1.5650, 6.8528)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121E4B #4B3F12
analogous
#123A4B #121E4B #22124B
triadic
#121E4B #4B121E #1E4B12
tetradic
#121E4B #4B123A #4B3F12 #124B22
square
#121E4B #4B123A #4B3F12 #124B22
split-complementary
#121E4B #4B2212 #3A4B12
monochromatic
#060A19 #060A1A #121E4B #1E327C #2A45AE

Accessibility & contrast

On white

15.99
#121E4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#121E4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121E4B
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121E4B#FFFFFF#000000##FFFFFF
##121E4B1.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01244D
Deuteranopia (green-blind)
#001F4A
Tritanopia (blue-blind)
#002931
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #121e4b;
/* rgb */ color: rgb(18, 30, 75);
/* oklch */ color: oklch(25.5% 0.085 268.5);
Tailwind
colors: {
  custom: {
    50: '#58597e',
    500: '#121e4b',
    950: '#000000',
  },
}
SCSS
$custom: #121e4b;
$custom-light: #58597e;
$custom-dark: #000000;
JSON
{
  "hex": "#121e4b",
  "rgb": {
    "r": 18,
    "g": 30,
    "b": 75
  },
  "hsl": {
    "h": 227.368,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.25483,
    "c": 0.08497,
    "h": 268.5
  },
  "luminance": 0.01565
}

Semantic roles & 50–950 ramp

primary
#121E4B
secondary
#847335
accent
#C343E4
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #121E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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