#121753#121753

#121753 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.8% C 0.107 H 272.0°. Best body text is #FFFFFF at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#121753
RGBrgb(18, 23, 83)
HSLhsl(235, 64%, 20%)
HSVhsv(235, 78%, 33%)
CMYKcmyk(78.3%, 72.3%, 0%, 67.5%)
CIE-LABlab(11.73, 21.16, -37.11)
CIE-LCHlch(11.73, 42.72, 299.69°)
OKLaboklab(24.76% 0.0038 -0.1073)
OKLCHoklch(24.76% 0.107 272)
XYZxyz(2.1167, 1.3657, 8.3340)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121753 #534E12
analogous
#123753 #121753 #2E1253
triadic
#121753 #531217 #175312
tetradic
#121753 #531237 #534E12 #12532E
square
#121753 #531237 #534E12 #12532E
split-complementary
#121753 #532E12 #375312
monochromatic
#050719 #070921 #121753 #1D2585 #2833B8

Accessibility & contrast

On white

16.49
#121753 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#121753 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121753
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121753#FFFFFF#000000##FFFFFF
##1217531.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #121753;
/* rgb */ color: rgb(18, 23, 83);
/* oklch */ color: oklch(24.8% 0.107 272.0);
Tailwind
colors: {
  custom: {
    50: '#5b5484',
    500: '#121753',
    950: '#000000',
  },
}
SCSS
$custom: #121753;
$custom-light: #5b5484;
$custom-dark: #000000;
JSON
{
  "hex": "#121753",
  "rgb": {
    "r": 18,
    "g": 23,
    "b": 83
  },
  "hsl": {
    "h": 235.385,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.24763,
    "c": 0.10734,
    "h": 272
  },
  "luminance": 0.01366
}

Semantic roles & 50–950 ramp

primary
#121753
secondary
#8C8535
accent
#DB40E7
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #121753

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

Preview Lab → · Contrast checker → · Palette generator →

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