#0D1B58#0D1B58

#0D1B58 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.8% C 0.111 H 267.5°. Best body text is #FFFFFF at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#0D1B58
RGBrgb(13, 27, 88)
HSLhsl(229, 74%, 20%)
HSVhsv(229, 85%, 35%)
CMYKcmyk(85.2%, 69.3%, 0%, 65.5%)
CIE-LABlab(13.07, 19.72, -38.31)
CIE-LCHlch(13.07, 43.09, 297.23°)
OKLaboklab(25.83% -0.0048 -0.1109)
OKLCHoklch(25.83% 0.111 267.5)
XYZxyz(2.3188, 1.5737, 9.4122)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1B58 #584A0D
analogous
#0D4158 #0D1B58 #250D58
triadic
#0D1B58 #580D1B #1B580D
tetradic
#0D1B58 #580D41 #584A0D #0D5825
square
#0D1B58 #580D41 #584A0D #0D5825
split-complementary
#0D1B58 #58250D #41580D
monochromatic
#04081B #050B23 #0D1B58 #152B8D #1D3CC3

Accessibility & contrast

On white

15.97
#0D1B58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D1B58
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1B58#FFFFFF#000000##FFFFFF
##0D1B581.0015.971.3115.97
#FFFFFF15.971.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255A
Deuteranopia (green-blind)
#001E57
Tritanopia (blue-blind)
#002B36
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0d1b58;
/* rgb */ color: rgb(13, 27, 88);
/* oklch */ color: oklch(25.8% 0.111 267.5);
Tailwind
colors: {
  custom: {
    50: '#5b5788',
    500: '#0d1b58',
    950: '#000000',
  },
}
SCSS
$custom: #0d1b58;
$custom-light: #5b5788;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1b58",
  "rgb": {
    "r": 13,
    "g": 27,
    "b": 88
  },
  "hsl": {
    "h": 228.8,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25828,
    "c": 0.11099,
    "h": 267.5
  },
  "luminance": 0.01574
}

Semantic roles & 50–950 ramp

primary
#0D1B58
secondary
#93802E
accent
#CE37F1
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04030B
muted
#79787C

Preview Lab

Preview with #0D1B58

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

Preview Lab → · Contrast checker → · Palette generator →

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