#0D2B5F#0D2B5F

#0D2B5F is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.1% C 0.100 H 260.6°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#0D2B5F
RGBrgb(13, 43, 95)
HSLhsl(218, 76%, 21%)
HSVhsv(218, 86%, 37%)
CMYKcmyk(86.3%, 54.7%, 0%, 62.7%)
CIE-LABlab(18.54, 10.79, -34.08)
CIE-LCHlch(18.54, 35.75, 287.57°)
OKLaboklab(30.13% -0.0162 -0.0982)
OKLCHoklch(30.13% 0.1 260.6)
XYZxyz(3.0947, 2.6392, 11.1706)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2B5F #5F410D
analogous
#0D545F #0D2B5F #180D5F
triadic
#0D2B5F #5F0D2B #2B5F0D
tetradic
#0D2B5F #5F0D54 #5F410D #0D5F18
square
#0D2B5F #5F0D54 #5F410D #0D5F18
split-complementary
#0D2B5F #5F180D #545F0D
monochromatic
#040C1B #061329 #0D2B5F #144395 #1C5CCB

Accessibility & contrast

On white

13.74
#0D2B5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#0D2B5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2B5F
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2B5F#FFFFFF#000000##FFFFFF
##0D2B5F1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093161
Deuteranopia (green-blind)
#002A5E
Tritanopia (blue-blind)
#003840
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0d2b5f;
/* rgb */ color: rgb(13, 43, 95);
/* oklch */ color: oklch(30.1% 0.100 260.6);
Tailwind
colors: {
  custom: {
    50: '#5b638d',
    500: '#0d2b5f',
    950: '#000000',
  },
}
SCSS
$custom: #0d2b5f;
$custom-light: #5b638d;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2b5f",
  "rgb": {
    "r": 13,
    "g": 43,
    "b": 95
  },
  "hsl": {
    "h": 218.049,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30131,
    "c": 0.0995,
    "h": 260.6
  },
  "luminance": 0.0264
}

Semantic roles & 50–950 ramp

primary
#0D2B5F
secondary
#99722F
accent
#AD35F3
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #0D2B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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