#121575#121575

#121575 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.4% C 0.156 H 269.7°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#121575
RGBrgb(18, 21, 117)
HSLhsl(238, 73%, 26%)
HSVhsv(238, 85%, 46%)
CMYKcmyk(84.6%, 82.1%, 0%, 54.1%)
CIE-LABlab(15.22, 35.32, -53.89)
CIE-LCHlch(15.22, 64.43, 303.24°)
OKLaboklab(28.43% -0.0009 -0.1561)
OKLCHoklch(28.43% 0.156 269.7)
XYZxyz(3.7274, 1.9488, 17.0059)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121575 #757212
analogous
#124775 #121575 #411275
triadic
#121575 #751215 #157512
tetradic
#121575 #751247 #757212 #127541
square
#121575 #751247 #757212 #127541
split-complementary
#121575 #754112 #477512
monochromatic
#04051B #0A0B40 #121575 #1A1FAA #242ADD

Accessibility & contrast

On white

15.11
#121575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#121575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121575
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121575#FFFFFF#000000##FFFFFF
##1215751.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B78
Deuteranopia (green-blind)
#002173
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #121575;
/* rgb */ color: rgb(18, 21, 117);
/* oklch */ color: oklch(28.4% 0.156 269.7);
Tailwind
colors: {
  custom: {
    50: '#66549e',
    500: '#121575',
    950: '#000000',
  },
}
SCSS
$custom: #121575;
$custom-light: #66549e;
$custom-dark: #000000;
JSON
{
  "hex": "#121575",
  "rgb": {
    "r": 18,
    "g": 21,
    "b": 117
  },
  "hsl": {
    "h": 238.182,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.28425,
    "c": 0.15607,
    "h": 269.7
  },
  "luminance": 0.01949
}

Semantic roles & 50–950 ramp

primary
#121575
secondary
#ACA837
accent
#EA38F0
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #121575

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

Preview Lab → · Contrast checker → · Palette generator →

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