#121E6A#121E6A

#121E6A is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.6% C 0.132 H 268.8°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#121E6A
RGBrgb(18, 30, 106)
HSLhsl(232, 71%, 24%)
HSVhsv(232, 83%, 42%)
CMYKcmyk(83%, 71.7%, 0%, 58.4%)
CIE-LABlab(15.99, 25.46, -45.46)
CIE-LCHlch(15.99, 52.10, 299.25°)
OKLaboklab(28.6% -0.0028 -0.1316)
OKLCHoklch(28.6% 0.132 268.8)
XYZxyz(3.3143, 2.0974, 13.8630)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121E6A #6A5E12
analogous
#124A6A #121E6A #32126A
triadic
#121E6A #6A121E #1E6A12
tetradic
#121E6A #6A124A #6A5E12 #126A32
square
#121E6A #6A124A #6A5E12 #126A32
split-complementary
#121E6A #6A3212 #4A6A12
monochromatic
#04071A #090F36 #121E6A #1B2D9E #243CD3

Accessibility & contrast

On white

14.79
#121E6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#121E6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121E6A
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121E6A#FFFFFF#000000##FFFFFF
##121E6A1.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6C
Deuteranopia (green-blind)
#002469
Tritanopia (blue-blind)
#003341
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #121e6a;
/* rgb */ color: rgb(18, 30, 106);
/* oklch */ color: oklch(28.6% 0.132 268.8);
Tailwind
colors: {
  custom: {
    50: '#615a95',
    500: '#121e6a',
    950: '#000000',
  },
}
SCSS
$custom: #121e6a;
$custom-light: #615a95;
$custom-dark: #000000;
JSON
{
  "hex": "#121e6a",
  "rgb": {
    "r": 18,
    "g": 30,
    "b": 106
  },
  "hsl": {
    "h": 231.818,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.28601,
    "c": 0.13167,
    "h": 268.8
  },
  "luminance": 0.02098
}

Semantic roles & 50–950 ramp

primary
#121E6A
secondary
#A29336
accent
#D53AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #121E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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