#0D2A5E#0D2A5E

#0D2A5E is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.8% C 0.099 H 261.0°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#0D2A5E
RGBrgb(13, 42, 94)
HSLhsl(219, 76%, 21%)
HSVhsv(219, 86%, 37%)
CMYKcmyk(86.2%, 55.3%, 0%, 63.1%)
CIE-LABlab(18.14, 11.10, -34.06)
CIE-LCHlch(18.14, 35.82, 288.05°)
OKLaboklab(29.8% -0.0155 -0.0981)
OKLCHoklch(29.8% 0.099 261)
XYZxyz(3.0136, 2.5493, 10.9207)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2A5E #5E410D
analogous
#0D525E #0D2A5E #190D5E
triadic
#0D2A5E #5E0D2A #2A5E0D
tetradic
#0D2A5E #5E0D52 #5E410D #0D5E19
square
#0D2A5E #5E0D52 #5E410D #0D5E19
split-complementary
#0D2A5E #5E190D #525E0D
monochromatic
#040C1B #061228 #0D2A5E #144294 #1C5ACA

Accessibility & contrast

On white

13.91
#0D2A5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#0D2A5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2A5E
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2A5E#FFFFFF#000000##FFFFFF
##0D2A5E1.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073060
Deuteranopia (green-blind)
#00295D
Tritanopia (blue-blind)
#00373F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0d2a5e;
/* rgb */ color: rgb(13, 42, 94);
/* oklch */ color: oklch(29.8% 0.099 261.0);
Tailwind
colors: {
  custom: {
    50: '#5b628c',
    500: '#0d2a5e',
    950: '#000000',
  },
}
SCSS
$custom: #0d2a5e;
$custom-light: #5b628c;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2a5e",
  "rgb": {
    "r": 13,
    "g": 42,
    "b": 94
  },
  "hsl": {
    "h": 218.519,
    "s": 75.701,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29803,
    "c": 0.09935,
    "h": 261
  },
  "luminance": 0.0255
}

Semantic roles & 50–950 ramp

primary
#0D2A5E
secondary
#98722F
accent
#AF36F2
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#04050C
muted
#79797D

Preview Lab

Preview with #0D2A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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