#121875#121875

#121875 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.9% C 0.153 H 269.3°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#121875
RGBrgb(18, 24, 117)
HSLhsl(236, 73%, 26%)
HSVhsv(236, 85%, 46%)
CMYKcmyk(84.6%, 79.5%, 0%, 54.1%)
CIE-LABlab(15.83, 33.56, -52.87)
CIE-LCHlch(15.83, 62.62, 302.41°)
OKLaboklab(28.86% -0.0018 -0.1532)
OKLCHoklch(28.86% 0.153 269.3)
XYZxyz(3.7859, 2.0658, 17.0254)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121875 #756F12
analogous
#124A75 #121875 #3E1275
triadic
#121875 #751218 #187512
tetradic
#121875 #75124A #756F12 #12753E
square
#121875 #75124A #756F12 #12753E
split-complementary
#121875 #753E12 #4A7512
monochromatic
#04051B #0A0D40 #121875 #1A23AA #242FDD

Accessibility & contrast

On white

14.86
#121875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#121875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121875
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121875#FFFFFF#000000##FFFFFF
##1218751.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C78
Deuteranopia (green-blind)
#002273
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #121875;
/* rgb */ color: rgb(18, 24, 117);
/* oklch */ color: oklch(28.9% 0.153 269.3);
Tailwind
colors: {
  custom: {
    50: '#65569e',
    500: '#121875',
    950: '#000000',
  },
}
SCSS
$custom: #121875;
$custom-light: #65569e;
$custom-dark: #000000;
JSON
{
  "hex": "#121875",
  "rgb": {
    "r": 18,
    "g": 24,
    "b": 117
  },
  "hsl": {
    "h": 236.364,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.28856,
    "c": 0.15318,
    "h": 269.3
  },
  "luminance": 0.02066
}

Semantic roles & 50–950 ramp

primary
#121875
secondary
#ACA537
accent
#E538F0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #121875

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

Preview Lab → · Contrast checker → · Palette generator →

#121875 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva