#0D0F4B#0D0F4B

#0D0F4B is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 22.0% C 0.107 H 272.0°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#0D0F4B
RGBrgb(13, 15, 75)
HSLhsl(238, 70%, 17%)
HSVhsv(238, 83%, 29%)
CMYKcmyk(82.7%, 80%, 0%, 70.6%)
CIE-LABlab(8.44, 22.98, -37.03)
CIE-LCHlch(8.44, 43.58, 301.83°)
OKLaboklab(22.03% 0.0037 -0.1072)
OKLCHoklch(22.03% 0.107 272)
XYZxyz(1.6064, 0.9350, 6.7511)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D0F4B #4B490D
analogous
#0D2E4B #0D0F4B #2A0D4B
triadic
#0D0F4B #4B0D0F #0F4B0D
tetradic
#0D0F4B #4B0D2E #4B490D #0D4B2A
square
#0D0F4B #4B0D2E #4B490D #0D4B2A
split-complementary
#0D0F4B #4B2A0D #2E4B0D
monochromatic
#05051A #05051A #0D0F4B #16197F #1F24B3

Accessibility & contrast

On white

17.69
#0D0F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#0D0F4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D0F4B
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D0F4B#FFFFFF#000000##FFFFFF
##0D0F4B1.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4D
Deuteranopia (green-blind)
#00154A
Tritanopia (blue-blind)
#00202C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0d0f4b;
/* rgb */ color: rgb(13, 15, 75);
/* oklch */ color: oklch(22.0% 0.107 272.0);
Tailwind
colors: {
  custom: {
    50: '#584d7e',
    500: '#0d0f4b',
    950: '#000000',
  },
}
SCSS
$custom: #0d0f4b;
$custom-light: #584d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#0d0f4b",
  "rgb": {
    "r": 13,
    "g": 15,
    "b": 75
  },
  "hsl": {
    "h": 238.065,
    "s": 70.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.22032,
    "c": 0.10722,
    "h": 272
  },
  "luminance": 0.00935
}

Semantic roles & 50–950 ramp

primary
#0D0F4B
secondary
#86832E
accent
#E73BED
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0D0F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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