#121965#121965

#121965 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.1% C 0.131 H 270.2°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#121965
RGBrgb(18, 25, 101)
HSLhsl(235, 70%, 23%)
HSVhsv(235, 82%, 40%)
CMYKcmyk(82.2%, 75.2%, 0%, 60.4%)
CIE-LABlab(14.19, 26.91, -45.13)
CIE-LCHlch(14.19, 52.55, 300.81°)
OKLaboklab(27.14% 0.0004 -0.1307)
OKLCHoklch(27.14% 0.131 270.2)
XYZxyz(2.9452, 1.7631, 12.4945)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121965 #655E12
analogous
#124265 #121965 #341265
triadic
#121965 #651219 #196512
tetradic
#121965 #651242 #655E12 #126534
square
#121965 #651242 #655E12 #126534
split-complementary
#121965 #653412 #426512
monochromatic
#05061A #090C31 #121965 #1B2699 #2533CD

Accessibility & contrast

On white

15.53
#121965 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#121965 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121965
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121965#FFFFFF#000000##FFFFFF
##1219651.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002867
Deuteranopia (green-blind)
#002064
Tritanopia (blue-blind)
#002E3D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #121965;
/* rgb */ color: rgb(18, 25, 101);
/* oklch */ color: oklch(27.1% 0.131 270.2);
Tailwind
colors: {
  custom: {
    50: '#605692',
    500: '#121965',
    950: '#000000',
  },
}
SCSS
$custom: #121965;
$custom-light: #605692;
$custom-dark: #000000;
JSON
{
  "hex": "#121965",
  "rgb": {
    "r": 18,
    "g": 25,
    "b": 101
  },
  "hsl": {
    "h": 234.94,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.27137,
    "c": 0.13069,
    "h": 270.2
  },
  "luminance": 0.01763
}

Semantic roles & 50–950 ramp

primary
#121965
secondary
#9D9436
accent
#DE3BED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #121965

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

Preview Lab → · Contrast checker → · Palette generator →

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