#121E75#121E75

#121E75 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.8% C 0.147 H 268.4°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#121E75
RGBrgb(18, 30, 117)
HSLhsl(233, 73%, 26%)
HSVhsv(233, 85%, 46%)
CMYKcmyk(84.6%, 74.4%, 0%, 54.1%)
CIE-LABlab(17.18, 29.77, -50.63)
CIE-LCHlch(17.18, 58.73, 300.45°)
OKLaboklab(29.82% -0.004 -0.1467)
OKLCHoklch(29.82% 0.147 268.4)
XYZxyz(3.9235, 2.3410, 17.0713)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121E75 #756912
analogous
#125075 #121E75 #381275
triadic
#121E75 #75121E #1E7512
tetradic
#121E75 #751250 #756912 #127538
square
#121E75 #751250 #756912 #127538
split-complementary
#121E75 #753812 #507512
monochromatic
#04071B #0A1040 #121E75 #1A2CAA #243BDD

Accessibility & contrast

On white

14.30
#121E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#121E75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121E75
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121E75#FFFFFF#000000##FFFFFF
##121E751.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F78
Deuteranopia (green-blind)
#002573
Tritanopia (blue-blind)
#003747
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #121e75;
/* rgb */ color: rgb(18, 30, 117);
/* oklch */ color: oklch(29.8% 0.147 268.4);
Tailwind
colors: {
  custom: {
    50: '#655a9e',
    500: '#121e75',
    950: '#000000',
  },
}
SCSS
$custom: #121e75;
$custom-light: #655a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#121e75",
  "rgb": {
    "r": 18,
    "g": 30,
    "b": 117
  },
  "hsl": {
    "h": 232.727,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29823,
    "c": 0.14676,
    "h": 268.4
  },
  "luminance": 0.02341
}

Semantic roles & 50–950 ramp

primary
#121E75
secondary
#AC9E37
accent
#DA38F0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #121E75

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

Preview Lab → · Contrast checker → · Palette generator →

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