#0D2558#0D2558

#0D2558 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.1% C 0.097 H 262.8°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#0D2558
RGBrgb(13, 37, 88)
HSLhsl(221, 74%, 20%)
HSVhsv(221, 85%, 35%)
CMYKcmyk(85.2%, 58%, 0%, 65.5%)
CIE-LABlab(16.07, 12.20, -33.42)
CIE-LCHlch(16.07, 35.58, 290.05°)
OKLaboklab(28.07% -0.0122 -0.0963)
OKLCHoklch(28.07% 0.097 262.8)
XYZxyz(2.5884, 2.1130, 9.5021)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2558 #58400D
analogous
#0D4B58 #0D2558 #1B0D58
triadic
#0D2558 #580D25 #25580D
tetradic
#0D2558 #580D4B #58400D #0D581B
square
#0D2558 #580D4B #58400D #0D581B
split-complementary
#0D2558 #581B0D #4B580D
monochromatic
#040B1B #050F23 #0D2558 #153B8D #1D52C3

Accessibility & contrast

On white

14.76
#0D2558 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D2558
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2558#FFFFFF#000000##FFFFFF
##0D25581.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5A
Deuteranopia (green-blind)
#002557
Tritanopia (blue-blind)
#00323A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0d2558;
/* rgb */ color: rgb(13, 37, 88);
/* oklch */ color: oklch(28.1% 0.097 262.8);
Tailwind
colors: {
  custom: {
    50: '#5a5e88',
    500: '#0d2558',
    950: '#000000',
  },
}
SCSS
$custom: #0d2558;
$custom-light: #5a5e88;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2558",
  "rgb": {
    "r": 13,
    "g": 37,
    "b": 88
  },
  "hsl": {
    "h": 220.8,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28072,
    "c": 0.09711,
    "h": 262.8
  },
  "luminance": 0.02113
}

Semantic roles & 50–950 ramp

primary
#0D2558
secondary
#93722E
accent
#B537F1
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040B
muted
#79797C

Preview Lab

Preview with #0D2558

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

Preview Lab → · Contrast checker → · Palette generator →

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