#0F0D58#0F0D58

#0F0D58 is a very dark, vivid blue. Relative luminance 0.011; OKLCH L 23.5% C 0.127 H 272.0°. Best body text is #FFFFFF at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#0F0D58
RGBrgb(15, 13, 88)
HSLhsl(242, 74%, 20%)
HSVhsv(242, 85%, 35%)
CMYKcmyk(83%, 85.2%, 0%, 65.5%)
CIE-LABlab(9.75, 29.35, -43.78)
CIE-LCHlch(9.75, 52.71, 303.84°)
OKLaboklab(23.47% 0.0045 -0.1267)
OKLCHoklch(23.47% 0.127 272)
XYZxyz(2.1018, 1.0938, 9.3310)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0D58 #56580D
analogous
#0D3158 #0F0D58 #350D58
triadic
#0F0D58 #580F0D #0D580F
tetradic
#0F0D58 #580D31 #56580D #0D5835
square
#0F0D58 #580D31 #56580D #0D5835
split-complementary
#0F0D58 #58350D #31580D
monochromatic
#05041B #060523 #0F0D58 #18158D #211DC3

Accessibility & contrast

On white

17.23
#0F0D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0D58
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0D58#FFFFFF#000000##FFFFFF
##0F0D581.0017.231.2217.23
#FFFFFF17.231.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f0d58;
/* rgb */ color: rgb(15, 13, 88);
/* oklch */ color: oklch(23.5% 0.127 272.0);
Tailwind
colors: {
  custom: {
    50: '#5d4d88',
    500: '#0f0d58',
    950: '#000000',
  },
}
SCSS
$custom: #0f0d58;
$custom-light: #5d4d88;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0d58",
  "rgb": {
    "r": 15,
    "g": 13,
    "b": 88
  },
  "hsl": {
    "h": 241.6,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.23472,
    "c": 0.1268,
    "h": 272
  },
  "luminance": 0.01094
}

Semantic roles & 50–950 ramp

primary
#0F0D58
secondary
#90932E
accent
#F137EC
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05010B
muted
#79777C

Preview Lab

Preview with #0F0D58

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

Preview Lab → · Contrast checker → · Palette generator →

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