#0D2B5E#0D2B5E

#0D2B5E is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.0% C 0.098 H 260.4°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#0D2B5E
RGBrgb(13, 43, 94)
HSLhsl(218, 76%, 21%)
HSVhsv(218, 86%, 37%)
CMYKcmyk(86.2%, 54.3%, 0%, 63.1%)
CIE-LABlab(18.46, 10.35, -33.55)
CIE-LCHlch(18.46, 35.11, 287.15°)
OKLaboklab(30.05% -0.0164 -0.0966)
OKLCHoklch(30.05% 0.098 260.4)
XYZxyz(3.0495, 2.6211, 10.9327)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2B5E #5E400D
analogous
#0D535E #0D2B5E #170D5E
triadic
#0D2B5E #5E0D2B #2B5E0D
tetradic
#0D2B5E #5E0D53 #5E400D #0D5E17
square
#0D2B5E #5E0D53 #5E400D #0D5E17
split-complementary
#0D2B5E #5E170D #535E0D
monochromatic
#040C1B #061228 #0D2B5E #144494 #1C5CCA

Accessibility & contrast

On white

13.78
#0D2B5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D2B5E
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2B5E#FFFFFF#000000##FFFFFF
##0D2B5E1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3160
Deuteranopia (green-blind)
#002A5D
Tritanopia (blue-blind)
#003740
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0d2b5e;
/* rgb */ color: rgb(13, 43, 94);
/* oklch */ color: oklch(30.0% 0.098 260.4);
Tailwind
colors: {
  custom: {
    50: '#5b638c',
    500: '#0d2b5e',
    950: '#000000',
  },
}
SCSS
$custom: #0d2b5e;
$custom-light: #5b638c;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2b5e",
  "rgb": {
    "r": 13,
    "g": 43,
    "b": 94
  },
  "hsl": {
    "h": 217.778,
    "s": 75.701,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30046,
    "c": 0.09798,
    "h": 260.4
  },
  "luminance": 0.02621
}

Semantic roles & 50–950 ramp

primary
#0D2B5E
secondary
#98712F
accent
#AC36F2
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#04050C
muted
#79797D

Preview Lab

Preview with #0D2B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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