#0D0C57#0D0C57

#0D0C57 is a very dark, vivid blue. Relative luminance 0.010; OKLCH L 23.1% C 0.127 H 271.1°. Best body text is #FFFFFF at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#0D0C57
RGBrgb(13, 12, 87)
HSLhsl(241, 76%, 19%)
HSVhsv(241, 86%, 34%)
CMYKcmyk(85.1%, 86.2%, 0%, 65.9%)
CIE-LABlab(9.29, 29.42, -43.87)
CIE-LCHlch(9.29, 52.82, 303.85°)
OKLaboklab(23.08% 0.0024 -0.127)
OKLCHoklch(23.08% 0.127 271.1)
XYZxyz(2.0172, 1.0364, 9.1087)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0C57 #56570C
analogous
#0C3157 #0D0C57 #330C57
triadic
#0D0C57 #570D0C #0C570D
tetradic
#0D0C57 #570C31 #56570C #0C5733
square
#0D0C57 #570C31 #56570C #0C5733
split-complementary
#0D0C57 #57330C #31570C
monochromatic
#04041B #050521 #0D0C57 #15138D #1D1BC3

Accessibility & contrast

On white

17.39
#0D0C57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#0D0C57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0C57
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0C57#FFFFFF#000000##FFFFFF
##0D0C571.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E59
Deuteranopia (green-blind)
#001656
Tritanopia (blue-blind)
#002332
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0d0c57;
/* rgb */ color: rgb(13, 12, 87);
/* oklch */ color: oklch(23.1% 0.127 271.1);
Tailwind
colors: {
  custom: {
    50: '#5c4c87',
    500: '#0d0c57',
    950: '#000000',
  },
}
SCSS
$custom: #0d0c57;
$custom-light: #5c4c87;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0c57",
  "rgb": {
    "r": 13,
    "g": 12,
    "b": 87
  },
  "hsl": {
    "h": 240.8,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.23079,
    "c": 0.12701,
    "h": 271.1
  },
  "luminance": 0.01037
}

Semantic roles & 50–950 ramp

primary
#0D0C57
secondary
#91922D
accent
#F235F0
background
#F5F4F8
surface
#E9E7F0
border
#C5C3CB
text
#05010B
muted
#79777C

Preview Lab

Preview with #0D0C57

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

Preview Lab → · Contrast checker → · Palette generator →

#0D0C57 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva