#0D254F#0D254F

#0D254F is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.3% C 0.083 H 260.7°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#0D254F
RGBrgb(13, 37, 79)
HSLhsl(218, 72%, 18%)
HSVhsv(218, 84%, 31%)
CMYKcmyk(83.5%, 53.2%, 0%, 69%)
CIE-LABlab(15.34, 8.21, -28.51)
CIE-LCHlch(15.34, 29.67, 286.06°)
OKLaboklab(27.29% -0.0134 -0.0819)
OKLCHoklch(27.29% 0.083 260.7)
XYZxyz(2.2383, 1.9730, 7.6585)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D254F #4F370D
analogous
#0D464F #0D254F #160D4F
triadic
#0D254F #4F0D25 #254F0D
tetradic
#0D254F #4F0D46 #4F370D #0D4F16
square
#0D254F #4F0D46 #4F370D #0D4F16
split-complementary
#0D254F #4F160D #464F0D
monochromatic
#040C1A #040C1A #0D254F #163E84 #1E56B8

Accessibility & contrast

On white

15.06
#0D254F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D254F
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D254F#FFFFFF#000000##FFFFFF
##0D254F1.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2A51
Deuteranopia (green-blind)
#00244E
Tritanopia (blue-blind)
#002F36
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0d254f;
/* rgb */ color: rgb(13, 37, 79);
/* oklch */ color: oklch(27.3% 0.083 260.7);
Tailwind
colors: {
  custom: {
    50: '#575f81',
    500: '#0d254f',
    950: '#000000',
  },
}
SCSS
$custom: #0d254f;
$custom-light: #575f81;
$custom-dark: #000000;
JSON
{
  "hex": "#0d254f",
  "rgb": {
    "r": 13,
    "g": 37,
    "b": 79
  },
  "hsl": {
    "h": 218.182,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27289,
    "c": 0.08301,
    "h": 260.7
  },
  "luminance": 0.01973
}

Semantic roles & 50–950 ramp

primary
#0D254F
secondary
#8A682E
accent
#AD39EE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #0D254F

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

Preview Lab → · Contrast checker → · Palette generator →

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