#0D1F48#0D1F48

#0D1F48 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.2% C 0.080 H 263.8°. Best body text is #FFFFFF at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#0D1F48
RGBrgb(13, 31, 72)
HSLhsl(222, 69%, 17%)
HSVhsv(222, 82%, 28%)
CMYKcmyk(81.9%, 56.9%, 0%, 71.8%)
CIE-LABlab(12.82, 9.68, -27.79)
CIE-LCHlch(12.82, 29.43, 289.20°)
OKLaboklab(25.18% -0.0087 -0.0799)
OKLCHoklch(25.18% 0.08 263.8)
XYZxyz(1.8252, 1.5332, 6.3294)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1F48 #48360D
analogous
#0D3D48 #0D1F48 #190D48
triadic
#0D1F48 #480D1F #1F480D
tetradic
#0D1F48 #480D3D #48360D #0D4819
square
#0D1F48 #480D3D #48360D #0D4819
split-complementary
#0D1F48 #48190D #3D480D
monochromatic
#050B1A #050B1A #0D1F48 #16357C #204CB0

Accessibility & contrast

On white

16.07
#0D1F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#0D1F48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1F48
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1F48#FFFFFF#000000##FFFFFF
##0D1F481.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062449
Deuteranopia (green-blind)
#001F47
Tritanopia (blue-blind)
#002930
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0d1f48;
/* rgb */ color: rgb(13, 31, 72);
/* oklch */ color: oklch(25.2% 0.080 263.8);
Tailwind
colors: {
  custom: {
    50: '#565a7b',
    500: '#0d1f48',
    950: '#000000',
  },
}
SCSS
$custom: #0d1f48;
$custom-light: #565a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1f48",
  "rgb": {
    "r": 13,
    "g": 31,
    "b": 72
  },
  "hsl": {
    "h": 221.695,
    "s": 69.412,
    "l": 16.667
  },
  "oklch": {
    "l": 0.2518,
    "c": 0.08039,
    "h": 263.8
  },
  "luminance": 0.01533
}

Semantic roles & 50–950 ramp

primary
#0D1F48
secondary
#83692D
accent
#B63CEC
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030309
muted
#78787B

Preview Lab

Preview with #0D1F48

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

Preview Lab → · Contrast checker → · Palette generator →

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