#0D1F49#0D1F49

#0D1F49 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.3% C 0.082 H 264.0°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#0D1F49
RGBrgb(13, 31, 73)
HSLhsl(222, 70%, 17%)
HSVhsv(222, 82%, 29%)
CMYKcmyk(82.2%, 57.5%, 0%, 71.4%)
CIE-LABlab(12.90, 10.12, -28.35)
CIE-LCHlch(12.90, 30.10, 289.65°)
OKLaboklab(25.27% -0.0086 -0.0816)
OKLCHoklch(25.27% 0.082 264)
XYZxyz(1.8581, 1.5464, 6.5026)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1F49 #49370D
analogous
#0D3D49 #0D1F49 #190D49
triadic
#0D1F49 #490D1F #1F490D
tetradic
#0D1F49 #490D3D #49370D #0D4919
square
#0D1F49 #490D3D #49370D #0D4919
split-complementary
#0D1F49 #49190D #3D490D
monochromatic
#050B1A #050B1A #0D1F49 #16357D #204BB1

Accessibility & contrast

On white

16.04
#0D1F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D1F49
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1F49#FFFFFF#000000##FFFFFF
##0D1F491.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05244B
Deuteranopia (green-blind)
#001F48
Tritanopia (blue-blind)
#002930
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0d1f49;
/* rgb */ color: rgb(13, 31, 73);
/* oklch */ color: oklch(25.3% 0.082 264.0);
Tailwind
colors: {
  custom: {
    50: '#565a7c',
    500: '#0d1f49',
    950: '#000000',
  },
}
SCSS
$custom: #0d1f49;
$custom-light: #565a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1f49",
  "rgb": {
    "r": 13,
    "g": 31,
    "b": 73
  },
  "hsl": {
    "h": 222,
    "s": 69.767,
    "l": 16.863
  },
  "oklch": {
    "l": 0.25269,
    "c": 0.08201,
    "h": 264
  },
  "luminance": 0.01547
}

Semantic roles & 50–950 ramp

primary
#0D1F49
secondary
#846A2D
accent
#B73BED
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030309
muted
#78787B

Preview Lab

Preview with #0D1F49

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

Preview Lab → · Contrast checker → · Palette generator →

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