#121675#121675

#121675 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.6% C 0.155 H 269.6°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#121675
RGBrgb(18, 22, 117)
HSLhsl(238, 73%, 26%)
HSVhsv(238, 85%, 46%)
CMYKcmyk(84.6%, 81.2%, 0%, 54.1%)
CIE-LABlab(15.42, 34.75, -53.56)
CIE-LCHlch(15.42, 63.84, 302.98°)
OKLaboklab(28.56% -0.0011 -0.1551)
OKLCHoklch(28.56% 0.155 269.6)
XYZxyz(3.7462, 1.9863, 17.0121)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121675 #757112
analogous
#124875 #121675 #401275
triadic
#121675 #751216 #167512
tetradic
#121675 #751248 #757112 #127540
square
#121675 #751248 #757112 #127540
split-complementary
#121675 #754012 #487512
monochromatic
#04051B #0A0C40 #121675 #1A20AA #242CDD

Accessibility & contrast

On white

15.03
#121675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#121675 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121675
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121675#FFFFFF#000000##FFFFFF
##1216751.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #121675;
/* rgb */ color: rgb(18, 22, 117);
/* oklch */ color: oklch(28.6% 0.155 269.6);
Tailwind
colors: {
  custom: {
    50: '#65559e',
    500: '#121675',
    950: '#000000',
  },
}
SCSS
$custom: #121675;
$custom-light: #65559e;
$custom-dark: #000000;
JSON
{
  "hex": "#121675",
  "rgb": {
    "r": 18,
    "g": 22,
    "b": 117
  },
  "hsl": {
    "h": 237.576,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.28564,
    "c": 0.15513,
    "h": 269.6
  },
  "luminance": 0.01987
}

Semantic roles & 50–950 ramp

primary
#121675
secondary
#ACA737
accent
#E938F0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #121675

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

Preview Lab → · Contrast checker → · Palette generator →

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