#0D254E#0D254E

#0D254E is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.2% C 0.081 H 260.4°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#0D254E
RGBrgb(13, 37, 78)
HSLhsl(218, 71%, 18%)
HSVhsv(218, 83%, 31%)
CMYKcmyk(83.3%, 52.6%, 0%, 69.4%)
CIE-LABlab(15.27, 7.77, -27.96)
CIE-LCHlch(15.27, 29.02, 285.52°)
OKLaboklab(27.21% -0.0136 -0.0803)
OKLCHoklch(27.21% 0.081 260.4)
XYZxyz(2.2022, 1.9585, 7.4682)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D254E #4E360D
analogous
#0D454E #0D254E #150D4E
triadic
#0D254E #4E0D25 #254E0D
tetradic
#0D254E #4E0D45 #4E360D #0D4E15
square
#0D254E #4E0D45 #4E360D #0D4E15
split-complementary
#0D254E #4E150D #454E0D
monochromatic
#040C1A #040C1A #0D254E #163E82 #1E57B7

Accessibility & contrast

On white

15.09
#0D254E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D254E
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D254E#FFFFFF#000000##FFFFFF
##0D254E1.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2950
Deuteranopia (green-blind)
#00234D
Tritanopia (blue-blind)
#002F35
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0d254e;
/* rgb */ color: rgb(13, 37, 78);
/* oklch */ color: oklch(27.2% 0.081 260.4);
Tailwind
colors: {
  custom: {
    50: '#575f80',
    500: '#0d254e',
    950: '#000000',
  },
}
SCSS
$custom: #0d254e;
$custom-light: #575f80;
$custom-dark: #000000;
JSON
{
  "hex": "#0d254e",
  "rgb": {
    "r": 13,
    "g": 37,
    "b": 78
  },
  "hsl": {
    "h": 217.846,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.27205,
    "c": 0.08143,
    "h": 260.4
  },
  "luminance": 0.01959
}

Semantic roles & 50–950 ramp

primary
#0D254E
secondary
#89672E
accent
#AC3AEE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #0D254E

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

Preview Lab → · Contrast checker → · Palette generator →

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