#0D254D#0D254D

#0D254D is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.1% C 0.080 H 260.1°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#0D254D
RGBrgb(13, 37, 77)
HSLhsl(218, 71%, 18%)
HSVhsv(218, 83%, 30%)
CMYKcmyk(83.1%, 51.9%, 0%, 69.8%)
CIE-LABlab(15.19, 7.32, -27.40)
CIE-LCHlch(15.19, 28.36, 284.96°)
OKLaboklab(27.12% -0.0138 -0.0786)
OKLCHoklch(27.12% 0.08 260.1)
XYZxyz(2.1666, 1.9443, 7.2808)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D254D #4D350D
analogous
#0D454D #0D254D #150D4D
triadic
#0D254D #4D0D25 #254D0D
tetradic
#0D254D #4D0D45 #4D350D #0D4D15
square
#0D254D #4D0D45 #4D350D #0D4D15
split-complementary
#0D254D #4D150D #454D0D
monochromatic
#040D1A #040D1A #0D254D #163E81 #1F57B6

Accessibility & contrast

On white

15.12
#0D254D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#0D254D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D254D
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D254D#FFFFFF#000000##FFFFFF
##0D254D1.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F294E
Deuteranopia (green-blind)
#02234C
Tritanopia (blue-blind)
#002E35
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0d254d;
/* rgb */ color: rgb(13, 37, 77);
/* oklch */ color: oklch(27.1% 0.080 260.1);
Tailwind
colors: {
  custom: {
    50: '#575f7f',
    500: '#0d254d',
    950: '#000000',
  },
}
SCSS
$custom: #0d254d;
$custom-light: #575f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#0d254d",
  "rgb": {
    "r": 13,
    "g": 37,
    "b": 77
  },
  "hsl": {
    "h": 217.5,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.27123,
    "c": 0.07983,
    "h": 260.1
  },
  "luminance": 0.01945
}

Semantic roles & 50–950 ramp

primary
#0D254D
secondary
#88662E
accent
#AA3AEE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C

Preview Lab

Preview with #0D254D

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

Preview Lab → · Contrast checker → · Palette generator →

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