#0D2759#0D2759

#0D2759 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.6% C 0.096 H 261.8°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#0D2759
RGBrgb(13, 39, 89)
HSLhsl(219, 75%, 20%)
HSVhsv(219, 85%, 35%)
CMYKcmyk(85.4%, 56.2%, 0%, 65.1%)
CIE-LABlab(16.78, 11.13, -32.93)
CIE-LCHlch(16.78, 34.76, 288.68°)
OKLaboklab(28.64% -0.0137 -0.0949)
OKLCHoklch(28.64% 0.096 261.8)
XYZxyz(2.6940, 2.2576, 9.7430)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2759 #593F0D
analogous
#0D4D59 #0D2759 #190D59
triadic
#0D2759 #590D27 #27590D
tetradic
#0D2759 #590D4D #593F0D #0D5919
square
#0D2759 #590D4D #593F0D #0D5919
split-complementary
#0D2759 #59190D #4D590D
monochromatic
#040C1B #051024 #0D2759 #153E8E #1D56C4

Accessibility & contrast

On white

14.47
#0D2759 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#0D2759 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2759
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2759#FFFFFF#000000##FFFFFF
##0D27591.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052D5B
Deuteranopia (green-blind)
#002658
Tritanopia (blue-blind)
#00333B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0d2759;
/* rgb */ color: rgb(13, 39, 89);
/* oklch */ color: oklch(28.6% 0.096 261.8);
Tailwind
colors: {
  custom: {
    50: '#5a6088',
    500: '#0d2759',
    950: '#000000',
  },
}
SCSS
$custom: #0d2759;
$custom-light: #5a6088;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2759",
  "rgb": {
    "r": 13,
    "g": 39,
    "b": 89
  },
  "hsl": {
    "h": 219.474,
    "s": 74.51,
    "l": 20
  },
  "oklch": {
    "l": 0.28642,
    "c": 0.09586,
    "h": 261.8
  },
  "luminance": 0.02258
}

Semantic roles & 50–950 ramp

primary
#0D2759
secondary
#93712E
accent
#B137F1
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040B
muted
#79797C

Preview Lab

Preview with #0D2759

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

Preview Lab → · Contrast checker → · Palette generator →

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