#0D2A58#0D2A58

#0D2A58 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.3% C 0.090 H 259.5°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#0D2A58
RGBrgb(13, 42, 88)
HSLhsl(217, 74%, 20%)
HSVhsv(217, 85%, 35%)
CMYKcmyk(85.2%, 52.3%, 0%, 65.5%)
CIE-LABlab(17.67, 8.45, -30.83)
CIE-LCHlch(17.67, 31.97, 285.33°)
OKLaboklab(29.3% -0.0165 -0.0886)
OKLCHoklch(29.3% 0.09 259.5)
XYZxyz(2.7548, 2.4457, 9.5575)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2A58 #583B0D
analogous
#0D5058 #0D2A58 #160D58
triadic
#0D2A58 #580D2A #2A580D
tetradic
#0D2A58 #580D50 #583B0D #0D5816
square
#0D2A58 #580D50 #583B0D #0D5816
split-complementary
#0D2A58 #58160D #50580D
monochromatic
#040D1B #051123 #0D2A58 #15438D #1D5DC3

Accessibility & contrast

On white

14.10
#0D2A58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#0D2A58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2A58
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2A58#FFFFFF#000000##FFFFFF
##0D2A581.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102F5A
Deuteranopia (green-blind)
#002857
Tritanopia (blue-blind)
#00353C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0d2a58;
/* rgb */ color: rgb(13, 42, 88);
/* oklch */ color: oklch(29.3% 0.090 259.5);
Tailwind
colors: {
  custom: {
    50: '#596387',
    500: '#0d2a58',
    950: '#000000',
  },
}
SCSS
$custom: #0d2a58;
$custom-light: #596387;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2a58",
  "rgb": {
    "r": 13,
    "g": 42,
    "b": 88
  },
  "hsl": {
    "h": 216.8,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29295,
    "c": 0.09014,
    "h": 259.5
  },
  "luminance": 0.02446
}

Semantic roles & 50–950 ramp

primary
#0D2A58
secondary
#936C2E
accent
#A937F1
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0D2A58

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

Preview Lab → · Contrast checker → · Palette generator →

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