#0D2C5E#0D2C5E

#0D2C5E is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.3% C 0.097 H 259.7°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#0D2C5E
RGBrgb(13, 44, 94)
HSLhsl(217, 76%, 21%)
HSVhsv(217, 86%, 37%)
CMYKcmyk(86.2%, 53.2%, 0%, 63.1%)
CIE-LABlab(18.78, 9.61, -33.03)
CIE-LCHlch(18.78, 34.40, 286.23°)
OKLaboklab(30.29% -0.0172 -0.0951)
OKLCHoklch(30.29% 0.097 259.7)
XYZxyz(3.0863, 2.6947, 10.9450)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2C5E #5E3F0D
analogous
#0D545E #0D2C5E #160D5E
triadic
#0D2C5E #5E0D2C #2C5E0D
tetradic
#0D2C5E #5E0D54 #5E3F0D #0D5E16
square
#0D2C5E #5E0D54 #5E3F0D #0D5E16
split-complementary
#0D2C5E #5E160D #545E0D
monochromatic
#040D1B #061328 #0D2C5E #144594 #1C5ECA

Accessibility & contrast

On white

13.65
#0D2C5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#0D2C5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2C5E
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2C5E#FFFFFF#000000##FFFFFF
##0D2C5E1.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3260
Deuteranopia (green-blind)
#002A5D
Tritanopia (blue-blind)
#003840
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0d2c5e;
/* rgb */ color: rgb(13, 44, 94);
/* oklch */ color: oklch(30.3% 0.097 259.7);
Tailwind
colors: {
  custom: {
    50: '#5b648c',
    500: '#0d2c5e',
    950: '#000000',
  },
}
SCSS
$custom: #0d2c5e;
$custom-light: #5b648c;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2c5e",
  "rgb": {
    "r": 13,
    "g": 44,
    "b": 94
  },
  "hsl": {
    "h": 217.037,
    "s": 75.701,
    "l": 20.98
  },
  "oklch": {
    "l": 0.3029,
    "c": 0.09661,
    "h": 259.7
  },
  "luminance": 0.02695
}

Semantic roles & 50–950 ramp

primary
#0D2C5E
secondary
#98702F
accent
#AA36F2
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#04050C
muted
#79797D

Preview Lab

Preview with #0D2C5E

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

Preview Lab → · Contrast checker → · Palette generator →

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