#0D1A58#0D1A58

#0D1A58 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.6% C 0.112 H 267.9°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#0D1A58
RGBrgb(13, 26, 88)
HSLhsl(230, 74%, 20%)
HSVhsv(230, 85%, 35%)
CMYKcmyk(85.2%, 70.5%, 0%, 65.5%)
CIE-LABlab(12.79, 20.45, -38.77)
CIE-LCHlch(12.79, 43.83, 297.81°)
OKLaboklab(25.62% -0.0042 -0.1122)
OKLCHoklch(25.62% 0.112 267.9)
XYZxyz(2.2962, 1.5287, 9.4047)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1A58 #584B0D
analogous
#0D4058 #0D1A58 #260D58
triadic
#0D1A58 #580D1A #1A580D
tetradic
#0D1A58 #580D40 #584B0D #0D5826
square
#0D1A58 #580D40 #584B0D #0D5826
split-complementary
#0D1A58 #58260D #40580D
monochromatic
#04081B #050A23 #0D1A58 #152A8D #1D3AC3

Accessibility & contrast

On white

16.08
#0D1A58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D1A58
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1A58#FFFFFF#000000##FFFFFF
##0D1A581.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d1a58;
/* rgb */ color: rgb(13, 26, 88);
/* oklch */ color: oklch(25.6% 0.112 267.9);
Tailwind
colors: {
  custom: {
    50: '#5b5688',
    500: '#0d1a58',
    950: '#000000',
  },
}
SCSS
$custom: #0d1a58;
$custom-light: #5b5688;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1a58",
  "rgb": {
    "r": 13,
    "g": 26,
    "b": 88
  },
  "hsl": {
    "h": 229.6,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25622,
    "c": 0.11231,
    "h": 267.9
  },
  "luminance": 0.01529
}

Semantic roles & 50–950 ramp

primary
#0D1A58
secondary
#93812E
accent
#D137F1
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04030B
muted
#79787C

Preview Lab

Preview with #0D1A58

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

Preview Lab → · Contrast checker → · Palette generator →

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