#0D2C58#0D2C58

#0D2C58 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.8% C 0.087 H 257.9°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#0D2C58
RGBrgb(13, 44, 88)
HSLhsl(215, 74%, 20%)
HSVhsv(215, 85%, 35%)
CMYKcmyk(85.2%, 50%, 0%, 65.5%)
CIE-LABlab(18.33, 6.97, -29.78)
CIE-LCHlch(18.33, 30.58, 283.17°)
OKLaboklab(29.8% -0.0183 -0.0855)
OKLCHoklch(29.8% 0.087 257.9)
XYZxyz(2.8275, 2.5912, 9.5818)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2C58 #58390D
analogous
#0D5258 #0D2C58 #140D58
triadic
#0D2C58 #580D2C #2C580D
tetradic
#0D2C58 #580D52 #58390D #0D5814
square
#0D2C58 #580D52 #58390D #0D5814
split-complementary
#0D2C58 #58140D #52580D
monochromatic
#040D1B #051123 #0D2C58 #15478D #1D61C3

Accessibility & contrast

On white

13.83
#0D2C58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#0D2C58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2C58
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2C58#FFFFFF#000000##FFFFFF
##0D2C581.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14305A
Deuteranopia (green-blind)
#032A57
Tritanopia (blue-blind)
#00363D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0d2c58;
/* rgb */ color: rgb(13, 44, 88);
/* oklch */ color: oklch(29.8% 0.087 257.9);
Tailwind
colors: {
  custom: {
    50: '#596487',
    500: '#0d2c58',
    950: '#000000',
  },
}
SCSS
$custom: #0d2c58;
$custom-light: #596487;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2c58",
  "rgb": {
    "r": 13,
    "g": 44,
    "b": 88
  },
  "hsl": {
    "h": 215.2,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29799,
    "c": 0.08742,
    "h": 257.9
  },
  "luminance": 0.02592
}

Semantic roles & 50–950 ramp

primary
#0D2C58
secondary
#93692E
accent
#A437F1
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0D2C58

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

Preview Lab → · Contrast checker → · Palette generator →

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