#0D244C#0D244C

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

Color values

HEX#0D244C
RGBrgb(13, 36, 76)
HSLhsl(218, 71%, 17%)
HSVhsv(218, 83%, 30%)
CMYKcmyk(82.9%, 52.6%, 0%, 70.2%)
CIE-LABlab(14.78, 7.63, -27.37)
CIE-LCHlch(14.78, 28.42, 285.58°)
OKLaboklab(26.78% -0.013 -0.0786)
OKLCHoklch(26.78% 0.08 260.6)
XYZxyz(2.1009, 1.8689, 7.0861)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D244C #4C350D
analogous
#0D444C #0D244C #150D4C
triadic
#0D244C #4C0D24 #244C0D
tetradic
#0D244C #4C0D44 #4C350D #0D4C15
square
#0D244C #4C0D44 #4C350D #0D4C15
split-complementary
#0D244C #4C150D #444C0D
monochromatic
#040C1A #040C1A #0D244C #163D80 #1F56B5

Accessibility & contrast

On white

15.29
#0D244C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#0D244C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D244C
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D244C#FFFFFF#000000##FFFFFF
##0D244C1.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E284D
Deuteranopia (green-blind)
#01234B
Tritanopia (blue-blind)
#002D34
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0d244c;
/* rgb */ color: rgb(13, 36, 76);
/* oklch */ color: oklch(26.8% 0.080 260.6);
Tailwind
colors: {
  custom: {
    50: '#565e7e',
    500: '#0d244c',
    950: '#000000',
  },
}
SCSS
$custom: #0d244c;
$custom-light: #565e7e;
$custom-dark: #000000;
JSON
{
  "hex": "#0d244c",
  "rgb": {
    "r": 13,
    "g": 36,
    "b": 76
  },
  "hsl": {
    "h": 218.095,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.26784,
    "c": 0.07965,
    "h": 260.6
  },
  "luminance": 0.01869
}

Semantic roles & 50–950 ramp

primary
#0D244C
secondary
#87662E
accent
#AC3AEE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C

Preview Lab

Preview with #0D244C

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

Preview Lab → · Contrast checker → · Palette generator →

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