#0D234C#0D234C

#0D234C is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.5% C 0.081 H 261.5°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#0D234C
RGBrgb(13, 35, 76)
HSLhsl(219, 71%, 17%)
HSVhsv(219, 83%, 30%)
CMYKcmyk(82.9%, 53.9%, 0%, 70.2%)
CIE-LABlab(14.45, 8.39, -27.91)
CIE-LCHlch(14.45, 29.14, 286.74°)
OKLaboklab(26.53% -0.012 -0.0802)
OKLCHoklch(26.53% 0.081 261.5)
XYZxyz(2.0710, 1.8092, 7.0761)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D234C #4C360D
analogous
#0D424C #0D234C #170D4C
triadic
#0D234C #4C0D23 #234C0D
tetradic
#0D234C #4C0D42 #4C360D #0D4C17
square
#0D234C #4C0D42 #4C360D #0D4C17
split-complementary
#0D234C #4C170D #424C0D
monochromatic
#040C1A #040C1A #0D234C #163B80 #1F53B5

Accessibility & contrast

On white

15.42
#0D234C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D234C
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D234C#FFFFFF#000000##FFFFFF
##0D234C1.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B284E
Deuteranopia (green-blind)
#00224B
Tritanopia (blue-blind)
#002D33
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0d234c;
/* rgb */ color: rgb(13, 35, 76);
/* oklch */ color: oklch(26.5% 0.081 261.5);
Tailwind
colors: {
  custom: {
    50: '#565d7e',
    500: '#0d234c',
    950: '#000000',
  },
}
SCSS
$custom: #0d234c;
$custom-light: #565d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#0d234c",
  "rgb": {
    "r": 13,
    "g": 35,
    "b": 76
  },
  "hsl": {
    "h": 219.048,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.2653,
    "c": 0.08107,
    "h": 261.5
  },
  "luminance": 0.01809
}

Semantic roles & 50–950 ramp

primary
#0D234C
secondary
#87682E
accent
#AF3AEE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C

Preview Lab

Preview with #0D234C

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

Preview Lab → · Contrast checker → · Palette generator →

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