#0D1C58#0D1C58

#0D1C58 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.0% C 0.110 H 267.1°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#0D1C58
RGBrgb(13, 28, 88)
HSLhsl(228, 74%, 20%)
HSVhsv(228, 85%, 35%)
CMYKcmyk(85.2%, 68.2%, 0%, 65.5%)
CIE-LABlab(13.35, 18.97, -37.85)
CIE-LCHlch(13.35, 42.34, 296.63°)
OKLaboklab(26.04% -0.0055 -0.1095)
OKLCHoklch(26.04% 0.11 267.1)
XYZxyz(2.3421, 1.6204, 9.4200)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1C58 #58490D
analogous
#0D4258 #0D1C58 #240D58
triadic
#0D1C58 #580D1C #1C580D
tetradic
#0D1C58 #580D42 #58490D #0D5824
square
#0D1C58 #580D42 #58490D #0D5824
split-complementary
#0D1C58 #58240D #42580D
monochromatic
#04081B #050B23 #0D1C58 #152D8D #1D3EC3

Accessibility & contrast

On white

15.86
#0D1C58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#0D1C58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1C58
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1C58#FFFFFF#000000##FFFFFF
##0D1C581.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265A
Deuteranopia (green-blind)
#001F57
Tritanopia (blue-blind)
#002C37
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0d1c58;
/* rgb */ color: rgb(13, 28, 88);
/* oklch */ color: oklch(26.0% 0.110 267.1);
Tailwind
colors: {
  custom: {
    50: '#5b5788',
    500: '#0d1c58',
    950: '#000000',
  },
}
SCSS
$custom: #0d1c58;
$custom-light: #5b5788;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1c58",
  "rgb": {
    "r": 13,
    "g": 28,
    "b": 88
  },
  "hsl": {
    "h": 228,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.26038,
    "c": 0.10964,
    "h": 267.1
  },
  "luminance": 0.01621
}

Semantic roles & 50–950 ramp

primary
#0D1C58
secondary
#937E2E
accent
#CC37F1
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04030B
muted
#79787C

Preview Lab

Preview with #0D1C58

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

Preview Lab → · Contrast checker → · Palette generator →

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