#121775#121775

#121775 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.7% C 0.154 H 269.5°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#121775
RGBrgb(18, 23, 117)
HSLhsl(237, 73%, 26%)
HSVhsv(237, 85%, 46%)
CMYKcmyk(84.6%, 80.3%, 0%, 54.1%)
CIE-LABlab(15.62, 34.16, -53.22)
CIE-LCHlch(15.62, 63.24, 302.70°)
OKLaboklab(28.71% -0.0014 -0.1542)
OKLCHoklch(28.71% 0.154 269.5)
XYZxyz(3.7656, 2.0253, 17.0186)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121775 #757012
analogous
#124975 #121775 #3F1275
triadic
#121775 #751217 #177512
tetradic
#121775 #751249 #757012 #12753F
square
#121775 #751249 #757012 #12753F
split-complementary
#121775 #753F12 #497512
monochromatic
#04051B #0A0D40 #121775 #1A21AA #242DDD

Accessibility & contrast

On white

14.94
#121775 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121775
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121775#FFFFFF#000000##FFFFFF
##1217751.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #121775;
/* rgb */ color: rgb(18, 23, 117);
/* oklch */ color: oklch(28.7% 0.154 269.5);
Tailwind
colors: {
  custom: {
    50: '#65559e',
    500: '#121775',
    950: '#000000',
  },
}
SCSS
$custom: #121775;
$custom-light: #65559e;
$custom-dark: #000000;
JSON
{
  "hex": "#121775",
  "rgb": {
    "r": 18,
    "g": 23,
    "b": 117
  },
  "hsl": {
    "h": 236.97,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.28708,
    "c": 0.15418,
    "h": 269.5
  },
  "luminance": 0.02026
}

Semantic roles & 50–950 ramp

primary
#121775
secondary
#ACA637
accent
#E738F0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #121775

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

Preview Lab → · Contrast checker → · Palette generator →

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