#121175#121175

#121175 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.9% C 0.160 H 270.0°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#121175
RGBrgb(18, 17, 117)
HSLhsl(241, 75%, 26%)
HSVhsv(241, 85%, 46%)
CMYKcmyk(84.6%, 85.5%, 0%, 54.1%)
CIE-LABlab(14.48, 37.48, -55.11)
CIE-LCHlch(14.48, 66.65, 304.22°)
OKLaboklab(27.91% 0.0001 -0.1596)
OKLCHoklch(27.91% 0.16 270)
XYZxyz(3.6597, 1.8134, 16.9833)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121175 #747511
analogous
#114275 #121175 #441175
triadic
#121175 #751211 #117512
tetradic
#121175 #751142 #747511 #117544
square
#121175 #751142 #747511 #117544
split-complementary
#121175 #754411 #427511
monochromatic
#04041B #0A0940 #121175 #1A19AA #2322DF

Accessibility & contrast

On white

15.41
#121175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#121175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121175
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121175#FFFFFF#000000##FFFFFF
##1211751.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A78
Deuteranopia (green-blind)
#001F73
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #121175;
/* rgb */ color: rgb(18, 17, 117);
/* oklch */ color: oklch(27.9% 0.160 270.0);
Tailwind
colors: {
  custom: {
    50: '#66529e',
    500: '#121175',
    950: '#000000',
  },
}
SCSS
$custom: #121175;
$custom-light: #66529e;
$custom-dark: #000000;
JSON
{
  "hex": "#121175",
  "rgb": {
    "r": 18,
    "g": 17,
    "b": 117
  },
  "hsl": {
    "h": 240.6,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.27908,
    "c": 0.15956,
    "h": 270
  },
  "luminance": 0.01814
}

Semantic roles & 50–950 ramp

primary
#121175
secondary
#ABAC36
accent
#F137EF
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020F
muted
#7A787E

Preview Lab

Preview with #121175

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

Preview Lab → · Contrast checker → · Palette generator →

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