#121A64#121A64

#121A64 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.2% C 0.128 H 270.0°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#121A64
RGBrgb(18, 26, 100)
HSLhsl(234, 69%, 23%)
HSVhsv(234, 82%, 39%)
CMYKcmyk(82%, 74%, 0%, 60.8%)
CIE-LABlab(14.33, 25.84, -44.25)
CIE-LCHlch(14.33, 51.24, 300.29°)
OKLaboklab(27.2% 0 -0.1281)
OKLCHoklch(27.2% 0.128 270)
XYZxyz(2.9183, 1.7872, 12.2453)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A64 #645C12
analogous
#124364 #121A64 #331264
triadic
#121A64 #64121A #1A6412
tetradic
#121A64 #641243 #645C12 #126433
square
#121A64 #641243 #645C12 #126433
split-complementary
#121A64 #643312 #436412
monochromatic
#05071A #090D30 #121A64 #1B2798 #2535CC

Accessibility & contrast

On white

15.47
#121A64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#121A64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121A64
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A64#FFFFFF#000000##FFFFFF
##121A641.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002866
Deuteranopia (green-blind)
#002063
Tritanopia (blue-blind)
#002F3C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #121a64;
/* rgb */ color: rgb(18, 26, 100);
/* oklch */ color: oklch(27.2% 0.128 270.0);
Tailwind
colors: {
  custom: {
    50: '#605791',
    500: '#121a64',
    950: '#000000',
  },
}
SCSS
$custom: #121a64;
$custom-light: #605791;
$custom-dark: #000000;
JSON
{
  "hex": "#121a64",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 100
  },
  "hsl": {
    "h": 234.146,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27202,
    "c": 0.12811,
    "h": 270
  },
  "luminance": 0.01787
}

Semantic roles & 50–950 ramp

primary
#121A64
secondary
#9C9236
accent
#DB3BEC
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #121A64

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

Preview Lab → · Contrast checker → · Palette generator →

#121A64 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva