#0D2A5F#0D2A5F

#0D2A5F is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.9% C 0.101 H 261.2°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#0D2A5F
RGBrgb(13, 42, 95)
HSLhsl(219, 76%, 21%)
HSVhsv(219, 86%, 37%)
CMYKcmyk(86.3%, 55.8%, 0%, 62.7%)
CIE-LABlab(18.22, 11.54, -34.59)
CIE-LCHlch(18.22, 36.47, 288.44°)
OKLaboklab(29.89% -0.0154 -0.0997)
OKLCHoklch(29.89% 0.101 261.2)
XYZxyz(3.0588, 2.5674, 11.1586)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2A5F #5F420D
analogous
#0D535F #0D2A5F #190D5F
triadic
#0D2A5F #5F0D2A #2A5F0D
tetradic
#0D2A5F #5F0D53 #5F420D #0D5F19
square
#0D2A5F #5F0D53 #5F420D #0D5F19
split-complementary
#0D2A5F #5F190D #535F0D
monochromatic
#040C1B #061229 #0D2A5F #144295 #1C5ACB

Accessibility & contrast

On white

13.87
#0D2A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D2A5F
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2A5F#FFFFFF#000000##FFFFFF
##0D2A5F1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053061
Deuteranopia (green-blind)
#00295E
Tritanopia (blue-blind)
#003740
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0d2a5f;
/* rgb */ color: rgb(13, 42, 95);
/* oklch */ color: oklch(29.9% 0.101 261.2);
Tailwind
colors: {
  custom: {
    50: '#5c628d',
    500: '#0d2a5f',
    950: '#000000',
  },
}
SCSS
$custom: #0d2a5f;
$custom-light: #5c628d;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2a5f",
  "rgb": {
    "r": 13,
    "g": 42,
    "b": 95
  },
  "hsl": {
    "h": 218.78,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.2989,
    "c": 0.10087,
    "h": 261.2
  },
  "luminance": 0.02568
}

Semantic roles & 50–950 ramp

primary
#0D2A5F
secondary
#99732F
accent
#B035F3
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #0D2A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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