#121250#121250

#121250 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.5% C 0.109 H 274.0°. Best body text is #FFFFFF at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#121250
RGBrgb(18, 18, 80)
HSLhsl(240, 63%, 19%)
HSVhsv(240, 78%, 31%)
CMYKcmyk(77.5%, 77.5%, 0%, 68.6%)
CIE-LABlab(10.11, 23.47, -37.72)
CIE-LCHlch(10.11, 44.43, 301.90°)
OKLaboklab(23.49% 0.0077 -0.109)
OKLCHoklch(23.49% 0.109 274)
XYZxyz(1.9132, 1.1402, 7.7071)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121250 #505012
analogous
#123150 #121250 #311250
triadic
#121250 #501212 #125012
tetradic
#121250 #501231 #505012 #125031
square
#121250 #501231 #505012 #125031
split-complementary
#121250 #503112 #315012
monochromatic
#060619 #07071E #121250 #1D1D82 #2828B4

Accessibility & contrast

On white

17.10
#121250 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#121250 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121250
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121250#FFFFFF#000000##FFFFFF
##1212501.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F52
Deuteranopia (green-blind)
#00194F
Tritanopia (blue-blind)
#00232F
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #121250;
/* rgb */ color: rgb(18, 18, 80);
/* oklch */ color: oklch(23.5% 0.109 274.0);
Tailwind
colors: {
  custom: {
    50: '#5b5082',
    500: '#121250',
    950: '#000000',
  },
}
SCSS
$custom: #121250;
$custom-light: #5b5082;
$custom-dark: #000000;
JSON
{
  "hex": "#121250",
  "rgb": {
    "r": 18,
    "g": 18,
    "b": 80
  },
  "hsl": {
    "h": 240,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.23495,
    "c": 0.10932,
    "h": 274
  },
  "luminance": 0.0114
}

Semantic roles & 50–950 ramp

primary
#121250
secondary
#898935
accent
#E641E6
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020A
muted
#79787C

Preview Lab

Preview with #121250

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

Preview Lab → · Contrast checker → · Palette generator →

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