#121B67#121B67

#121B67 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.7% C 0.131 H 269.6°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#121B67
RGBrgb(18, 27, 103)
HSLhsl(234, 70%, 24%)
HSVhsv(234, 83%, 40%)
CMYKcmyk(82.5%, 73.8%, 0%, 59.6%)
CIE-LABlab(14.91, 26.34, -45.27)
CIE-LCHlch(14.91, 52.38, 300.19°)
OKLaboklab(27.72% -0.0009 -0.1311)
OKLCHoklch(27.72% 0.131 269.6)
XYZxyz(3.0887, 1.8914, 13.0316)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121B67 #675E12
analogous
#124567 #121B67 #331267
triadic
#121B67 #67121B #1B6712
tetradic
#121B67 #671245 #675E12 #126733
square
#121B67 #671245 #675E12 #126733
split-complementary
#121B67 #673312 #456712
monochromatic
#05071A #090D33 #121B67 #1B299B #2436CF

Accessibility & contrast

On white

15.24
#121B67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#121B67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121B67
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121B67#FFFFFF#000000##FFFFFF
##121B671.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A69
Deuteranopia (green-blind)
#002166
Tritanopia (blue-blind)
#00303E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #121b67;
/* rgb */ color: rgb(18, 27, 103);
/* oklch */ color: oklch(27.7% 0.131 269.6);
Tailwind
colors: {
  custom: {
    50: '#615793',
    500: '#121b67',
    950: '#000000',
  },
}
SCSS
$custom: #121b67;
$custom-light: #615793;
$custom-dark: #000000;
JSON
{
  "hex": "#121b67",
  "rgb": {
    "r": 18,
    "g": 27,
    "b": 103
  },
  "hsl": {
    "h": 233.647,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.27718,
    "c": 0.13111,
    "h": 269.6
  },
  "luminance": 0.01892
}

Semantic roles & 50–950 ramp

primary
#121B67
secondary
#9F9436
accent
#DA3BED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #121B67

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

Preview Lab → · Contrast checker → · Palette generator →

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