#121865#121865

#121865 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.0% C 0.132 H 270.4°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#121865
RGBrgb(18, 24, 101)
HSLhsl(236, 70%, 23%)
HSVhsv(236, 82%, 40%)
CMYKcmyk(82.2%, 76.2%, 0%, 60.4%)
CIE-LABlab(13.95, 27.58, -45.53)
CIE-LCHlch(13.95, 53.23, 301.20°)
OKLaboklab(26.96% 0.0009 -0.1318)
OKLCHoklch(26.96% 0.132 270.4)
XYZxyz(2.9243, 1.7211, 12.4875)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121865 #655F12
analogous
#124165 #121865 #351265
triadic
#121865 #651218 #186512
tetradic
#121865 #651241 #655F12 #126535
square
#121865 #651241 #655F12 #126535
split-complementary
#121865 #653512 #416512
monochromatic
#05061A #090C31 #121865 #1B2499 #2531CD

Accessibility & contrast

On white

15.62
#121865 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#121865 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121865
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121865#FFFFFF#000000##FFFFFF
##1218651.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002867
Deuteranopia (green-blind)
#001F64
Tritanopia (blue-blind)
#002E3C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #121865;
/* rgb */ color: rgb(18, 24, 101);
/* oklch */ color: oklch(27.0% 0.132 270.4);
Tailwind
colors: {
  custom: {
    50: '#615592',
    500: '#121865',
    950: '#000000',
  },
}
SCSS
$custom: #121865;
$custom-light: #615592;
$custom-dark: #000000;
JSON
{
  "hex": "#121865",
  "rgb": {
    "r": 18,
    "g": 24,
    "b": 101
  },
  "hsl": {
    "h": 235.663,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.26963,
    "c": 0.13185,
    "h": 270.4
  },
  "luminance": 0.01721
}

Semantic roles & 50–950 ramp

primary
#121865
secondary
#9D9536
accent
#E03BED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #121865

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

Preview Lab → · Contrast checker → · Palette generator →

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