#121955#121955

#121955 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.4% C 0.108 H 271.1°. Best body text is #FFFFFF at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#121955
RGBrgb(18, 25, 85)
HSLhsl(234, 65%, 20%)
HSVhsv(234, 79%, 33%)
CMYKcmyk(78.8%, 70.6%, 0%, 66.7%)
CIE-LABlab(12.48, 20.53, -37.24)
CIE-LCHlch(12.48, 42.52, 298.86°)
OKLaboklab(25.37% 0.0021 -0.1076)
OKLCHoklch(25.37% 0.108 271.1)
XYZxyz(2.2362, 1.4795, 8.7603)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121955 #554E12
analogous
#123B55 #121955 #2C1255
triadic
#121955 #551219 #195512
tetradic
#121955 #55123B #554E12 #12552C
square
#121955 #55123B #554E12 #12552C
split-complementary
#121955 #552C12 #3B5512
monochromatic
#050719 #070A22 #121955 #1D2888 #2737BA

Accessibility & contrast

On white

16.20
#121955 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#121955 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121955
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121955#FFFFFF#000000##FFFFFF
##1219551.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002457
Deuteranopia (green-blind)
#001D54
Tritanopia (blue-blind)
#002934
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #121955;
/* rgb */ color: rgb(18, 25, 85);
/* oklch */ color: oklch(25.4% 0.108 271.1);
Tailwind
colors: {
  custom: {
    50: '#5c5586',
    500: '#121955',
    950: '#000000',
  },
}
SCSS
$custom: #121955;
$custom-light: #5c5586;
$custom-dark: #000000;
JSON
{
  "hex": "#121955",
  "rgb": {
    "r": 18,
    "g": 25,
    "b": 85
  },
  "hsl": {
    "h": 233.731,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.25374,
    "c": 0.10767,
    "h": 271.1
  },
  "luminance": 0.0148
}

Semantic roles & 50–950 ramp

primary
#121955
secondary
#8E8435
accent
#D640E8
background
#F5F4F8
surface
#E9E8EF
border
#C5C4CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #121955

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

Preview Lab → · Contrast checker → · Palette generator →

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