#0D1F50#0D1F50

#0D1F50 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.9% C 0.093 H 265.1°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#0D1F50
RGBrgb(13, 31, 80)
HSLhsl(224, 72%, 18%)
HSVhsv(224, 84%, 31%)
CMYKcmyk(83.7%, 61.2%, 0%, 68.6%)
CIE-LABlab(13.50, 13.23, -32.18)
CIE-LCHlch(13.50, 34.80, 292.34°)
OKLaboklab(25.91% -0.0079 -0.0928)
OKLCHoklch(25.91% 0.093 265.1)
XYZxyz(2.1034, 1.6445, 7.7944)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1F50 #503E0D
analogous
#0D4050 #0D1F50 #1C0D50
triadic
#0D1F50 #500D1F #1F500D
tetradic
#0D1F50 #500D40 #503E0D #0D501C
square
#0D1F50 #500D40 #503E0D #0D501C
split-complementary
#0D1F50 #501C0D #40500D
monochromatic
#040A1A #040B1B #0D1F50 #163385 #1E48B9

Accessibility & contrast

On white

15.80
#0D1F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#0D1F50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1F50
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1F50#FFFFFF#000000##FFFFFF
##0D1F501.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002652
Deuteranopia (green-blind)
#00204F
Tritanopia (blue-blind)
#002B34
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0d1f50;
/* rgb */ color: rgb(13, 31, 80);
/* oklch */ color: oklch(25.9% 0.093 265.1);
Tailwind
colors: {
  custom: {
    50: '#585a82',
    500: '#0d1f50',
    950: '#000000',
  },
}
SCSS
$custom: #0d1f50;
$custom-light: #585a82;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1f50",
  "rgb": {
    "r": 13,
    "g": 31,
    "b": 80
  },
  "hsl": {
    "h": 223.881,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.25911,
    "c": 0.09318,
    "h": 265.1
  },
  "luminance": 0.01645
}

Semantic roles & 50–950 ramp

primary
#0D1F50
secondary
#8B722E
accent
#BE39EF
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #0D1F50

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

Preview Lab → · Contrast checker → · Palette generator →

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