#121853#121853

#121853 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 25.0% C 0.106 H 271.6°. Best body text is #FFFFFF at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#121853
RGBrgb(18, 24, 83)
HSLhsl(234, 64%, 20%)
HSVhsv(234, 78%, 33%)
CMYKcmyk(78.3%, 71.1%, 0%, 67.5%)
CIE-LABlab(12.00, 20.43, -36.67)
CIE-LCHlch(12.00, 41.98, 299.13°)
OKLaboklab(24.96% 0.003 -0.106)
OKLCHoklch(24.96% 0.106 271.6)
XYZxyz(2.1369, 1.4062, 8.3407)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121853 #534D12
analogous
#123853 #121853 #2D1253
triadic
#121853 #531218 #185312
tetradic
#121853 #531238 #534D12 #12532D
square
#121853 #531238 #534D12 #12532D
split-complementary
#121853 #532D12 #385312
monochromatic
#050719 #070921 #121853 #1D2785 #2835B8

Accessibility & contrast

On white

16.39
#121853 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#121853 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121853
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121853#FFFFFF#000000##FFFFFF
##1218531.0016.391.2816.39
#FFFFFF16.391.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002355
Deuteranopia (green-blind)
#001C52
Tritanopia (blue-blind)
#002833
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #121853;
/* rgb */ color: rgb(18, 24, 83);
/* oklch */ color: oklch(25.0% 0.106 271.6);
Tailwind
colors: {
  custom: {
    50: '#5b5484',
    500: '#121853',
    950: '#000000',
  },
}
SCSS
$custom: #121853;
$custom-light: #5b5484;
$custom-dark: #000000;
JSON
{
  "hex": "#121853",
  "rgb": {
    "r": 18,
    "g": 24,
    "b": 83
  },
  "hsl": {
    "h": 234.462,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.24961,
    "c": 0.10601,
    "h": 271.6
  },
  "luminance": 0.01406
}

Semantic roles & 50–950 ramp

primary
#121853
secondary
#8C8435
accent
#D840E7
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #121853

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

Preview Lab → · Contrast checker → · Palette generator →

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