#0D2756#0D2756

#0D2756 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.4% C 0.091 H 261.1°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#0D2756
RGBrgb(13, 39, 86)
HSLhsl(219, 74%, 19%)
HSVhsv(219, 85%, 34%)
CMYKcmyk(84.9%, 54.7%, 0%, 66.3%)
CIE-LABlab(16.54, 9.81, -31.31)
CIE-LCHlch(16.54, 32.81, 287.39°)
OKLaboklab(28.38% -0.0141 -0.0901)
OKLCHoklch(28.38% 0.091 261.1)
XYZxyz(2.5706, 2.2082, 9.0930)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2756 #563C0D
analogous
#0D4C56 #0D2756 #180D56
triadic
#0D2756 #560D27 #27560D
tetradic
#0D2756 #560D4C #563C0D #0D5618
square
#0D2756 #560D4C #563C0D #0D5618
split-complementary
#0D2756 #56180D #4C560D
monochromatic
#040C1B #050F21 #0D2756 #153F8B #1D57C0

Accessibility & contrast

On white

14.57
#0D2756 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#0D2756 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2756
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2756#FFFFFF#000000##FFFFFF
##0D27561.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2C58
Deuteranopia (green-blind)
#002655
Tritanopia (blue-blind)
#00323A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0d2756;
/* rgb */ color: rgb(13, 39, 86);
/* oklch */ color: oklch(28.4% 0.091 261.1);
Tailwind
colors: {
  custom: {
    50: '#596086',
    500: '#0d2756',
    950: '#000000',
  },
}
SCSS
$custom: #0d2756;
$custom-light: #596086;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2756",
  "rgb": {
    "r": 13,
    "g": 39,
    "b": 86
  },
  "hsl": {
    "h": 218.63,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28382,
    "c": 0.0912,
    "h": 261.1
  },
  "luminance": 0.02208
}

Semantic roles & 50–950 ramp

primary
#0D2756
secondary
#916E2E
accent
#AF37F0
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0D2756

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

Preview Lab → · Contrast checker → · Palette generator →

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