#0D2659#0D2659

#0D2659 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.4% C 0.097 H 262.4°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#0D2659
RGBrgb(13, 38, 89)
HSLhsl(220, 75%, 20%)
HSVhsv(220, 85%, 35%)
CMYKcmyk(85.4%, 57.3%, 0%, 65.1%)
CIE-LABlab(16.47, 11.89, -33.44)
CIE-LCHlch(16.47, 35.49, 289.57°)
OKLaboklab(28.4% -0.0129 -0.0964)
OKLCHoklch(28.4% 0.097 262.4)
XYZxyz(2.6616, 2.1927, 9.7322)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2659 #59400D
analogous
#0D4C59 #0D2659 #1A0D59
triadic
#0D2659 #590D26 #26590D
tetradic
#0D2659 #590D4C #59400D #0D591A
square
#0D2659 #590D4C #59400D #0D591A
split-complementary
#0D2659 #591A0D #4C590D
monochromatic
#040B1B #050F24 #0D2659 #153D8E #1D54C4

Accessibility & contrast

On white

14.60
#0D2659 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#0D2659 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2659
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2659#FFFFFF#000000##FFFFFF
##0D26591.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022C5B
Deuteranopia (green-blind)
#002558
Tritanopia (blue-blind)
#00323B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0d2659;
/* rgb */ color: rgb(13, 38, 89);
/* oklch */ color: oklch(28.4% 0.097 262.4);
Tailwind
colors: {
  custom: {
    50: '#5a5f88',
    500: '#0d2659',
    950: '#000000',
  },
}
SCSS
$custom: #0d2659;
$custom-light: #5a5f88;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2659",
  "rgb": {
    "r": 13,
    "g": 38,
    "b": 89
  },
  "hsl": {
    "h": 220.263,
    "s": 74.51,
    "l": 20
  },
  "oklch": {
    "l": 0.28401,
    "c": 0.09726,
    "h": 262.4
  },
  "luminance": 0.02193
}

Semantic roles & 50–950 ramp

primary
#0D2659
secondary
#93722E
accent
#B437F1
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040B
muted
#79797C

Preview Lab

Preview with #0D2659

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

Preview Lab → · Contrast checker → · Palette generator →

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