#121E67#121E67

#121E67 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.3% C 0.127 H 268.8°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#121E67
RGBrgb(18, 30, 103)
HSLhsl(232, 70%, 24%)
HSVhsv(232, 83%, 40%)
CMYKcmyk(82.5%, 70.9%, 0%, 59.6%)
CIE-LABlab(15.68, 24.26, -44.01)
CIE-LCHlch(15.68, 50.25, 298.87°)
OKLaboklab(28.28% -0.0026 -0.1274)
OKLCHoklch(28.28% 0.127 268.8)
XYZxyz(3.1611, 2.0361, 13.0557)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121E67 #675B12
analogous
#124867 #121E67 #301267
triadic
#121E67 #67121E #1E6712
tetradic
#121E67 #671248 #675B12 #126730
square
#121E67 #671248 #675B12 #126730
split-complementary
#121E67 #673012 #486712
monochromatic
#05081A #090F33 #121E67 #1B2D9B #243CCF

Accessibility & contrast

On white

14.92
#121E67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#121E67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121E67
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121E67#FFFFFF#000000##FFFFFF
##121E671.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B69
Deuteranopia (green-blind)
#002366
Tritanopia (blue-blind)
#00323F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #121e67;
/* rgb */ color: rgb(18, 30, 103);
/* oklch */ color: oklch(28.3% 0.127 268.8);
Tailwind
colors: {
  custom: {
    50: '#605993',
    500: '#121e67',
    950: '#000000',
  },
}
SCSS
$custom: #121e67;
$custom-light: #605993;
$custom-dark: #000000;
JSON
{
  "hex": "#121e67",
  "rgb": {
    "r": 18,
    "g": 30,
    "b": 103
  },
  "hsl": {
    "h": 231.529,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.28276,
    "c": 0.12744,
    "h": 268.8
  },
  "luminance": 0.02036
}

Semantic roles & 50–950 ramp

primary
#121E67
secondary
#9F9036
accent
#D43BED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #121E67

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

Preview Lab → · Contrast checker → · Palette generator →

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