#121E65#121E65

#121E65 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.1% C 0.125 H 268.9°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#121E65
RGBrgb(18, 30, 101)
HSLhsl(231, 70%, 23%)
HSVhsv(231, 82%, 40%)
CMYKcmyk(82.2%, 70.3%, 0%, 60.4%)
CIE-LABlab(15.47, 23.45, -43.03)
CIE-LCHlch(15.47, 49.01, 298.59°)
OKLaboklab(28.06% -0.0024 -0.1245)
OKLCHoklch(28.06% 0.125 268.9)
XYZxyz(3.0619, 1.9964, 12.5334)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121E65 #655912
analogous
#124765 #121E65 #2F1265
triadic
#121E65 #65121E #1E6512
tetradic
#121E65 #651247 #655912 #12652F
square
#121E65 #651247 #655912 #12652F
split-complementary
#121E65 #652F12 #476512
monochromatic
#05081A #090F31 #121E65 #1B2D99 #253DCD

Accessibility & contrast

On white

15.01
#121E65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#121E65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121E65
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121E65#FFFFFF#000000##FFFFFF
##121E651.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B67
Deuteranopia (green-blind)
#002364
Tritanopia (blue-blind)
#00313E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #121e65;
/* rgb */ color: rgb(18, 30, 101);
/* oklch */ color: oklch(28.1% 0.125 268.9);
Tailwind
colors: {
  custom: {
    50: '#605992',
    500: '#121e65',
    950: '#000000',
  },
}
SCSS
$custom: #121e65;
$custom-light: #605992;
$custom-dark: #000000;
JSON
{
  "hex": "#121e65",
  "rgb": {
    "r": 18,
    "g": 30,
    "b": 101
  },
  "hsl": {
    "h": 231.325,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.28062,
    "c": 0.12457,
    "h": 268.9
  },
  "luminance": 0.01997
}

Semantic roles & 50–950 ramp

primary
#121E65
secondary
#9D8E36
accent
#D33BED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05030D
muted
#79787E

Preview Lab

Preview with #121E65

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

Preview Lab → · Contrast checker → · Palette generator →

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