#0D2758#0D2758

#0D2758 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.6% C 0.094 H 261.6°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#0D2758
RGBrgb(13, 39, 88)
HSLhsl(219, 74%, 20%)
HSVhsv(219, 85%, 35%)
CMYKcmyk(85.2%, 55.7%, 0%, 65.5%)
CIE-LABlab(16.70, 10.69, -32.39)
CIE-LCHlch(16.70, 34.11, 288.27°)
OKLaboklab(28.55% -0.0138 -0.0933)
OKLCHoklch(28.55% 0.094 261.6)
XYZxyz(2.6523, 2.2409, 9.5234)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2758 #583E0D
analogous
#0D4D58 #0D2758 #190D58
triadic
#0D2758 #580D27 #27580D
tetradic
#0D2758 #580D4D #583E0D #0D5819
square
#0D2758 #580D4D #583E0D #0D5819
split-complementary
#0D2758 #58190D #4D580D
monochromatic
#040C1B #050F23 #0D2758 #153F8D #1D56C3

Accessibility & contrast

On white

14.50
#0D2758 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D2758
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2758#FFFFFF#000000##FFFFFF
##0D27581.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072D5A
Deuteranopia (green-blind)
#002657
Tritanopia (blue-blind)
#00333B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0d2758;
/* rgb */ color: rgb(13, 39, 88);
/* oklch */ color: oklch(28.6% 0.094 261.6);
Tailwind
colors: {
  custom: {
    50: '#5a6087',
    500: '#0d2758',
    950: '#000000',
  },
}
SCSS
$custom: #0d2758;
$custom-light: #5a6087;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2758",
  "rgb": {
    "r": 13,
    "g": 39,
    "b": 88
  },
  "hsl": {
    "h": 219.2,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28554,
    "c": 0.09431,
    "h": 261.6
  },
  "luminance": 0.02241
}

Semantic roles & 50–950 ramp

primary
#0D2758
secondary
#93702E
accent
#B037F1
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0D2758

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

Preview Lab → · Contrast checker → · Palette generator →

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