#121A65#121A65

#121A65 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.3% C 0.130 H 269.9°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#121A65
RGBrgb(18, 26, 101)
HSLhsl(234, 70%, 23%)
HSVhsv(234, 82%, 40%)
CMYKcmyk(82.2%, 74.3%, 0%, 60.4%)
CIE-LABlab(14.44, 26.24, -44.73)
CIE-LCHlch(14.44, 51.86, 300.39°)
OKLaboklab(27.31% -0.0002 -0.1295)
OKLCHoklch(27.31% 0.13 269.9)
XYZxyz(2.9670, 1.8066, 12.5017)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A65 #655D12
analogous
#124365 #121A65 #331265
triadic
#121A65 #65121A #1A6512
tetradic
#121A65 #651243 #655D12 #126533
square
#121A65 #651243 #655D12 #126533
split-complementary
#121A65 #653312 #436512
monochromatic
#05071A #090D31 #121A65 #1B2799 #2535CD

Accessibility & contrast

On white

15.43
#121A65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121A65
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A65#FFFFFF#000000##FFFFFF
##121A651.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002967
Deuteranopia (green-blind)
#002064
Tritanopia (blue-blind)
#002F3D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #121a65;
/* rgb */ color: rgb(18, 26, 101);
/* oklch */ color: oklch(27.3% 0.130 269.9);
Tailwind
colors: {
  custom: {
    50: '#605792',
    500: '#121a65',
    950: '#000000',
  },
}
SCSS
$custom: #121a65;
$custom-light: #605792;
$custom-dark: #000000;
JSON
{
  "hex": "#121a65",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 101
  },
  "hsl": {
    "h": 234.217,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.27314,
    "c": 0.12951,
    "h": 269.9
  },
  "luminance": 0.01807
}

Semantic roles & 50–950 ramp

primary
#121A65
secondary
#9D9336
accent
#DB3BED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #121A65

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

Preview Lab → · Contrast checker → · Palette generator →

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