#0D234D#0D234D

#0D234D is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.6% C 0.083 H 261.8°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#0D234D
RGBrgb(13, 35, 77)
HSLhsl(219, 71%, 18%)
HSVhsv(219, 83%, 30%)
CMYKcmyk(83.1%, 54.5%, 0%, 69.8%)
CIE-LABlab(14.53, 8.84, -28.46)
CIE-LCHlch(14.53, 29.80, 287.25°)
OKLaboklab(26.62% -0.0118 -0.0818)
OKLCHoklch(26.62% 0.083 261.8)
XYZxyz(2.1061, 1.8232, 7.2607)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D234D #4D370D
analogous
#0D434D #0D234D #170D4D
triadic
#0D234D #4D0D23 #234D0D
tetradic
#0D234D #4D0D43 #4D370D #0D4D17
square
#0D234D #4D0D43 #4D370D #0D4D17
split-complementary
#0D234D #4D170D #434D0D
monochromatic
#040C1A #040C1A #0D234D #163B81 #1F53B6

Accessibility & contrast

On white

15.39
#0D234D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#0D234D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D234D
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D234D#FFFFFF#000000##FFFFFF
##0D234D1.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A284F
Deuteranopia (green-blind)
#00224C
Tritanopia (blue-blind)
#002D34
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0d234d;
/* rgb */ color: rgb(13, 35, 77);
/* oklch */ color: oklch(26.6% 0.083 261.8);
Tailwind
colors: {
  custom: {
    50: '#575d7f',
    500: '#0d234d',
    950: '#000000',
  },
}
SCSS
$custom: #0d234d;
$custom-light: #575d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#0d234d",
  "rgb": {
    "r": 13,
    "g": 35,
    "b": 77
  },
  "hsl": {
    "h": 219.375,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.26616,
    "c": 0.08266,
    "h": 261.8
  },
  "luminance": 0.01823
}

Semantic roles & 50–950 ramp

primary
#0D234D
secondary
#88692E
accent
#B03AEE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C

Preview Lab

Preview with #0D234D

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

Preview Lab → · Contrast checker → · Palette generator →

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