#0D254A#0D254A

#0D254A is a dark, moderate blue. Relative luminance 0.019; OKLCH L 26.9% C 0.075 H 258.9°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#0D254A
RGBrgb(13, 37, 74)
HSLhsl(216, 70%, 17%)
HSVhsv(216, 82%, 29%)
CMYKcmyk(82.4%, 50%, 0%, 71%)
CIE-LABlab(14.97, 5.99, -25.70)
CIE-LCHlch(14.97, 26.39, 283.11°)
OKLaboklab(26.88% -0.0144 -0.0736)
OKLCHoklch(26.88% 0.075 258.9)
XYZxyz(2.0631, 1.9029, 6.7358)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D254A #4A320D
analogous
#0D444A #0D254A #130D4A
triadic
#0D254A #4A0D25 #254A0D
tetradic
#0D254A #4A0D44 #4A320D #0D4A13
square
#0D254A #4A0D44 #4A320D #0D4A13
split-complementary
#0D254A #4A130D #444A0D
monochromatic
#050D1A #050D1A #0D254A #163F7E #1F59B2

Accessibility & contrast

On white

15.21
#0D254A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#0D254A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D254A
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D254A#FFFFFF#000000##FFFFFF
##0D254A1.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12294B
Deuteranopia (green-blind)
#062349
Tritanopia (blue-blind)
#002E33
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0d254a;
/* rgb */ color: rgb(13, 37, 74);
/* oklch */ color: oklch(26.9% 0.075 258.9);
Tailwind
colors: {
  custom: {
    50: '#565f7d',
    500: '#0d254a',
    950: '#000000',
  },
}
SCSS
$custom: #0d254a;
$custom-light: #565f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#0d254a",
  "rgb": {
    "r": 13,
    "g": 37,
    "b": 74
  },
  "hsl": {
    "h": 216.393,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.26879,
    "c": 0.07504,
    "h": 258.9
  },
  "luminance": 0.01903
}

Semantic roles & 50–950 ramp

primary
#0D254A
secondary
#85632E
accent
#A73BED
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030409
muted
#78797B

Preview Lab

Preview with #0D254A

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

Preview Lab → · Contrast checker → · Palette generator →

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