#0D2556#0D2556

#0D2556 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.9% C 0.094 H 262.4°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#0D2556
RGBrgb(13, 37, 86)
HSLhsl(220, 74%, 19%)
HSVhsv(220, 85%, 34%)
CMYKcmyk(84.9%, 57%, 0%, 66.3%)
CIE-LABlab(15.90, 11.32, -32.35)
CIE-LCHlch(15.90, 34.27, 289.28°)
OKLaboklab(27.89% -0.0124 -0.0932)
OKLCHoklch(27.89% 0.094 262.4)
XYZxyz(2.5067, 2.0803, 9.0717)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2556 #563E0D
analogous
#0D4A56 #0D2556 #1A0D56
triadic
#0D2556 #560D25 #25560D
tetradic
#0D2556 #560D4A #563E0D #0D561A
square
#0D2556 #560D4A #563E0D #0D561A
split-complementary
#0D2556 #561A0D #4A560D
monochromatic
#040B1B #050E21 #0D2556 #153C8B #1D53C0

Accessibility & contrast

On white

14.83
#0D2556 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#0D2556 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2556
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2556#FFFFFF#000000##FFFFFF
##0D25561.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032B58
Deuteranopia (green-blind)
#002455
Tritanopia (blue-blind)
#003139
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0d2556;
/* rgb */ color: rgb(13, 37, 86);
/* oklch */ color: oklch(27.9% 0.094 262.4);
Tailwind
colors: {
  custom: {
    50: '#595e86',
    500: '#0d2556',
    950: '#000000',
  },
}
SCSS
$custom: #0d2556;
$custom-light: #595e86;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2556",
  "rgb": {
    "r": 13,
    "g": 37,
    "b": 86
  },
  "hsl": {
    "h": 220.274,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.27893,
    "c": 0.09402,
    "h": 262.4
  },
  "luminance": 0.02081
}

Semantic roles & 50–950 ramp

primary
#0D2556
secondary
#91702E
accent
#B437F0
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0D2556

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

Preview Lab → · Contrast checker → · Palette generator →

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