#0D1E4F#0D1E4F

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

Color values

HEX#0D1E4F
RGBrgb(13, 30, 79)
HSLhsl(225, 72%, 18%)
HSVhsv(225, 84%, 31%)
CMYKcmyk(83.5%, 62%, 0%, 69%)
CIE-LABlab(13.10, 13.55, -32.15)
CIE-LCHlch(13.10, 34.89, 292.86°)
OKLaboklab(25.58% -0.0071 -0.0928)
OKLCHoklch(25.58% 0.093 265.6)
XYZxyz(2.0410, 1.5784, 7.5927)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1E4F #4F3E0D
analogous
#0D3F4F #0D1E4F #1D0D4F
triadic
#0D1E4F #4F0D1E #1E4F0D
tetradic
#0D1E4F #4F0D3F #4F3E0D #0D4F1D
square
#0D1E4F #4F0D3F #4F3E0D #0D4F1D
split-complementary
#0D1E4F #4F1D0D #3F4F0D
monochromatic
#040A1A #040A1A #0D1E4F #163284 #1E46B8

Accessibility & contrast

On white

15.96
#0D1E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#0D1E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1E4F
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1E4F#FFFFFF#000000##FFFFFF
##0D1E4F1.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002551
Deuteranopia (green-blind)
#001F4E
Tritanopia (blue-blind)
#002A33
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0d1e4f;
/* rgb */ color: rgb(13, 30, 79);
/* oklch */ color: oklch(25.6% 0.093 265.6);
Tailwind
colors: {
  custom: {
    50: '#585981',
    500: '#0d1e4f',
    950: '#000000',
  },
}
SCSS
$custom: #0d1e4f;
$custom-light: #585981;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1e4f",
  "rgb": {
    "r": 13,
    "g": 30,
    "b": 79
  },
  "hsl": {
    "h": 224.545,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.25582,
    "c": 0.09303,
    "h": 265.6
  },
  "luminance": 0.01579
}

Semantic roles & 50–950 ramp

primary
#0D1E4F
secondary
#8A722E
accent
#C039EE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #0D1E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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