#0F0D57#0F0D57

#0F0D57 is a very dark, vivid blue. Relative luminance 0.011; OKLCH L 23.3% C 0.125 H 272.2°. Best body text is #FFFFFF at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#0F0D57
RGBrgb(15, 13, 87)
HSLhsl(242, 74%, 20%)
HSVhsv(242, 85%, 34%)
CMYKcmyk(82.8%, 85.1%, 0%, 65.9%)
CIE-LABlab(9.62, 28.99, -43.32)
CIE-LCHlch(9.62, 52.12, 303.79°)
OKLaboklab(23.34% 0.0047 -0.1254)
OKLCHoklch(23.34% 0.125 272.2)
XYZxyz(2.0606, 1.0773, 9.1143)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0D57 #55570D
analogous
#0D3057 #0F0D57 #340D57
triadic
#0F0D57 #570F0D #0D570F
tetradic
#0F0D57 #570D30 #55570D #0D5734
square
#0F0D57 #570D30 #55570D #0D5734
split-complementary
#0F0D57 #57340D #30570D
monochromatic
#05041B #060522 #0F0D57 #18158C #211DC1

Accessibility & contrast

On white

17.28
#0F0D57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#0F0D57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0D57
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0D57#FFFFFF#000000##FFFFFF
##0F0D571.0017.281.2217.28
#FFFFFF17.281.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E59
Deuteranopia (green-blind)
#001756
Tritanopia (blue-blind)
#002432
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0f0d57;
/* rgb */ color: rgb(15, 13, 87);
/* oklch */ color: oklch(23.3% 0.125 272.2);
Tailwind
colors: {
  custom: {
    50: '#5d4d87',
    500: '#0f0d57',
    950: '#000000',
  },
}
SCSS
$custom: #0f0d57;
$custom-light: #5d4d87;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0d57",
  "rgb": {
    "r": 15,
    "g": 13,
    "b": 87
  },
  "hsl": {
    "h": 241.622,
    "s": 74,
    "l": 19.608
  },
  "oklch": {
    "l": 0.23343,
    "c": 0.12546,
    "h": 272.2
  },
  "luminance": 0.01078
}

Semantic roles & 50–950 ramp

primary
#0F0D57
secondary
#8F922E
accent
#F137EC
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05010B
muted
#79777C

Preview Lab

Preview with #0F0D57

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

Preview Lab → · Contrast checker → · Palette generator →

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