#0D2D66#0D2D66

#0D2D66 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.2% C 0.107 H 261.0°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#0D2D66
RGBrgb(13, 45, 102)
HSLhsl(218, 77%, 23%)
HSVhsv(218, 87%, 40%)
CMYKcmyk(87.3%, 55.9%, 0%, 60%)
CIE-LABlab(19.73, 12.39, -36.75)
CIE-LCHlch(19.73, 38.78, 288.62°)
OKLaboklab(31.22% -0.0169 -0.106)
OKLCHoklch(31.22% 0.107 261)
XYZxyz(3.5018, 2.9212, 12.9471)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2D66 #66460D
analogous
#0D5966 #0D2D66 #1A0D66
triadic
#0D2D66 #660D2D #2D660D
tetradic
#0D2D66 #660D59 #66460D #0D661A
square
#0D2D66 #660D59 #66460D #0D661A
split-complementary
#0D2D66 #661A0D #59660D
monochromatic
#030C1B #061530 #0D2D66 #14459C #1B5DD3

Accessibility & contrast

On white

13.25
#0D2D66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#0D2D66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2D66
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2D66#FFFFFF#000000##FFFFFF
##0D2D661.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033468
Deuteranopia (green-blind)
#002C65
Tritanopia (blue-blind)
#003B44
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0d2d66;
/* rgb */ color: rgb(13, 45, 102);
/* oklch */ color: oklch(31.2% 0.107 261.0);
Tailwind
colors: {
  custom: {
    50: '#5d6592',
    500: '#0d2d66',
    950: '#000000',
  },
}
SCSS
$custom: #0d2d66;
$custom-light: #5d6592;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2d66",
  "rgb": {
    "r": 13,
    "g": 45,
    "b": 102
  },
  "hsl": {
    "h": 218.427,
    "s": 77.391,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31216,
    "c": 0.10731,
    "h": 261
  },
  "luminance": 0.02922
}

Semantic roles & 50–950 ramp

primary
#0D2D66
secondary
#9F772F
accent
#AF34F4
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05050D
muted
#797A7E

Preview Lab

Preview with #0D2D66

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

Preview Lab → · Contrast checker → · Palette generator →

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