#0D254B#0D254B

#0D254B is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.0% C 0.077 H 259.3°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#0D254B
RGBrgb(13, 37, 75)
HSLhsl(217, 70%, 17%)
HSVhsv(217, 83%, 29%)
CMYKcmyk(82.7%, 50.7%, 0%, 70.6%)
CIE-LABlab(15.04, 6.43, -26.27)
CIE-LCHlch(15.04, 27.05, 283.76°)
OKLaboklab(26.96% -0.0142 -0.0753)
OKLCHoklch(26.96% 0.077 259.3)
XYZxyz(2.0971, 1.9165, 6.9146)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D254B #4B330D
analogous
#0D444B #0D254B #140D4B
triadic
#0D254B #4B0D25 #254B0D
tetradic
#0D254B #4B0D44 #4B330D #0D4B14
square
#0D254B #4B0D44 #4B330D #0D4B14
split-complementary
#0D254B #4B140D #444B0D
monochromatic
#050D1A #050D1A #0D254B #163F7F #1F58B3

Accessibility & contrast

On white

15.18
#0D254B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D254B
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D254B#FFFFFF#000000##FFFFFF
##0D254B1.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11294C
Deuteranopia (green-blind)
#04234A
Tritanopia (blue-blind)
#002E34
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0d254b;
/* rgb */ color: rgb(13, 37, 75);
/* oklch */ color: oklch(27.0% 0.077 259.3);
Tailwind
colors: {
  custom: {
    50: '#565f7d',
    500: '#0d254b',
    950: '#000000',
  },
}
SCSS
$custom: #0d254b;
$custom-light: #565f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#0d254b",
  "rgb": {
    "r": 13,
    "g": 37,
    "b": 75
  },
  "hsl": {
    "h": 216.774,
    "s": 70.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.2696,
    "c": 0.07665,
    "h": 259.3
  },
  "luminance": 0.01917
}

Semantic roles & 50–950 ramp

primary
#0D254B
secondary
#86642E
accent
#A83BED
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C

Preview Lab

Preview with #0D254B

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

Preview Lab → · Contrast checker → · Palette generator →

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