#121B5D#121B5D

#121B5D is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.6% C 0.117 H 270.0°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#121B5D
RGBrgb(18, 27, 93)
HSLhsl(233, 68%, 22%)
HSVhsv(233, 81%, 36%)
CMYKcmyk(80.6%, 71%, 0%, 63.5%)
CIE-LABlab(13.84, 22.35, -40.39)
CIE-LCHlch(13.84, 46.16, 298.95°)
OKLaboklab(26.62% 0.0001 -0.1168)
OKLCHoklch(26.62% 0.117 270)
XYZxyz(2.6165, 1.7025, 10.5445)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121B5D #5D5412
analogous
#12415D #121B5D #2F125D
triadic
#121B5D #5D121B #1B5D12
tetradic
#121B5D #5D1241 #5D5412 #125D2F
square
#121B5D #5D1241 #5D5412 #125D2F
split-complementary
#121B5D #5D2F12 #415D12
monochromatic
#05071A #080C2A #121B5D #1C2A90 #2639C4

Accessibility & contrast

On white

15.66
#121B5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#121B5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121B5D
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121B5D#FFFFFF#000000##FFFFFF
##121B5D1.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275F
Deuteranopia (green-blind)
#00205C
Tritanopia (blue-blind)
#002D39
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #121b5d;
/* rgb */ color: rgb(18, 27, 93);
/* oklch */ color: oklch(26.6% 0.117 270.0);
Tailwind
colors: {
  custom: {
    50: '#5e578c',
    500: '#121b5d',
    950: '#000000',
  },
}
SCSS
$custom: #121b5d;
$custom-light: #5e578c;
$custom-dark: #000000;
JSON
{
  "hex": "#121b5d",
  "rgb": {
    "r": 18,
    "g": 27,
    "b": 93
  },
  "hsl": {
    "h": 232.8,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.26622,
    "c": 0.11685,
    "h": 270
  },
  "luminance": 0.01703
}

Semantic roles & 50–950 ramp

primary
#121B5D
secondary
#958A35
accent
#D63DEA
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #121B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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