#0D2751#0D2751

#0D2751 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.0% C 0.083 H 259.7°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#0D2751
RGBrgb(13, 39, 81)
HSLhsl(217, 72%, 18%)
HSVhsv(217, 84%, 32%)
CMYKcmyk(84%, 51.9%, 0%, 68.2%)
CIE-LABlab(16.16, 7.59, -28.56)
CIE-LCHlch(16.16, 29.56, 284.89°)
OKLaboklab(27.96% -0.015 -0.082)
OKLCHoklch(27.96% 0.083 259.7)
XYZxyz(2.3762, 2.1304, 8.0690)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2751 #51370D
analogous
#0D4951 #0D2751 #150D51
triadic
#0D2751 #510D27 #27510D
tetradic
#0D2751 #510D49 #51370D #0D5115
square
#0D2751 #510D49 #51370D #0D5115
split-complementary
#0D2751 #51150D #49510D
monochromatic
#040D1A #050E1C #0D2751 #154086 #1E5ABA

Accessibility & contrast

On white

14.72
#0D2751 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#0D2751 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2751
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2751#FFFFFF#000000##FFFFFF
##0D27511.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102B53
Deuteranopia (green-blind)
#012550
Tritanopia (blue-blind)
#003138
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0d2751;
/* rgb */ color: rgb(13, 39, 81);
/* oklch */ color: oklch(28.0% 0.083 259.7);
Tailwind
colors: {
  custom: {
    50: '#586082',
    500: '#0d2751',
    950: '#000000',
  },
}
SCSS
$custom: #0d2751;
$custom-light: #586082;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2751",
  "rgb": {
    "r": 13,
    "g": 39,
    "b": 81
  },
  "hsl": {
    "h": 217.059,
    "s": 72.34,
    "l": 18.431
  },
  "oklch": {
    "l": 0.27962,
    "c": 0.08337,
    "h": 259.7
  },
  "luminance": 0.02131
}

Semantic roles & 50–950 ramp

primary
#0D2751
secondary
#8C682E
accent
#A939EF
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #0D2751

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

Preview Lab → · Contrast checker → · Palette generator →

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