#121E43#121E43

#121E43 is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 24.8% C 0.072 H 267.5°. Best body text is #FFFFFF at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#121E43
RGBrgb(18, 30, 67)
HSLhsl(225, 58%, 17%)
HSVhsv(225, 73%, 26%)
CMYKcmyk(73.1%, 55.2%, 0%, 73.7%)
CIE-LABlab(12.37, 9.17, -25.03)
CIE-LCHlch(12.37, 26.65, 290.12°)
OKLaboklab(24.78% -0.0032 -0.0717)
OKLCHoklch(24.78% 0.072 267.5)
XYZxyz(1.7265, 1.4622, 5.5004)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121E43 #433712
analogous
#123743 #121E43 #1F1243
triadic
#121E43 #43121E #1E4312
tetradic
#121E43 #431237 #433712 #12431F
square
#121E43 #431237 #433712 #12431F
split-complementary
#121E43 #431F12 #374312
monochromatic
#060B18 #060B18 #121E43 #1F3473 #2C49A3

Accessibility & contrast

On white

16.25
#121E43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#121E43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121E43
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121E43#FFFFFF#000000##FFFFFF
##121E431.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2344
Deuteranopia (green-blind)
#021E42
Tritanopia (blue-blind)
#00272D
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #121e43;
/* rgb */ color: rgb(18, 30, 67);
/* oklch */ color: oklch(24.8% 0.072 267.5);
Tailwind
colors: {
  custom: {
    50: '#565977',
    500: '#121e43',
    950: '#000000',
  },
}
SCSS
$custom: #121e43;
$custom-light: #565977;
$custom-dark: #000000;
JSON
{
  "hex": "#121e43",
  "rgb": {
    "r": 18,
    "g": 30,
    "b": 67
  },
  "hsl": {
    "h": 225.306,
    "s": 57.647,
    "l": 16.667
  },
  "oklch": {
    "l": 0.24784,
    "c": 0.07176,
    "h": 267.5
  },
  "luminance": 0.01462
}

Semantic roles & 50–950 ramp

primary
#121E43
secondary
#7C6B35
accent
#BB47E1
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #121E43

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

Preview Lab → · Contrast checker → · Palette generator →

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