#0D2045#0D2045

#0D2045 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.2% C 0.074 H 262.1°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#0D2045
RGBrgb(13, 32, 69)
HSLhsl(220, 68%, 16%)
HSVhsv(220, 81%, 27%)
CMYKcmyk(81.2%, 53.6%, 0%, 72.9%)
CIE-LABlab(12.91, 7.57, -25.56)
CIE-LCHlch(12.91, 26.66, 286.50°)
OKLaboklab(25.17% -0.0102 -0.0733)
OKLCHoklch(25.17% 0.074 262.1)
XYZxyz(1.7563, 1.5481, 5.8353)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2045 #45320D
analogous
#0D3C45 #0D2045 #160D45
triadic
#0D2045 #450D20 #20450D
tetradic
#0D2045 #450D3C #45320D #0D4516
square
#0D2045 #450D3C #45320D #0D4516
split-complementary
#0D2045 #45160D #3C450D
monochromatic
#050C1A #050C1A #0D2045 #173878 #2050AC

Accessibility & contrast

On white

16.04
#0D2045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#0D2045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2045
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2045#FFFFFF#000000##FFFFFF
##0D20451.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2446
Deuteranopia (green-blind)
#011F44
Tritanopia (blue-blind)
#00292F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0d2045;
/* rgb */ color: rgb(13, 32, 69);
/* oklch */ color: oklch(25.2% 0.074 262.1);
Tailwind
colors: {
  custom: {
    50: '#555a79',
    500: '#0d2045',
    950: '#000000',
  },
}
SCSS
$custom: #0d2045;
$custom-light: #555a79;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2045",
  "rgb": {
    "r": 13,
    "g": 32,
    "b": 69
  },
  "hsl": {
    "h": 219.643,
    "s": 68.293,
    "l": 16.078
  },
  "oklch": {
    "l": 0.25175,
    "c": 0.07404,
    "h": 262.1
  },
  "luminance": 0.01548
}

Semantic roles & 50–950 ramp

primary
#0D2045
secondary
#80642D
accent
#B03DEB
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #0D2045

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

Preview Lab → · Contrast checker → · Palette generator →

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