#0D2855#0D2855

#0D2855 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.5% C 0.088 H 260.1°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#0D2855
RGBrgb(13, 40, 85)
HSLhsl(218, 73%, 19%)
HSVhsv(218, 85%, 33%)
CMYKcmyk(84.7%, 52.9%, 0%, 66.7%)
CIE-LABlab(16.79, 8.62, -30.24)
CIE-LCHlch(16.79, 31.44, 285.90°)
OKLaboklab(28.55% -0.0152 -0.0869)
OKLCHoklch(28.55% 0.088 260.1)
XYZxyz(2.5639, 2.2587, 8.8934)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2855 #553A0D
analogous
#0D4C55 #0D2855 #160D55
triadic
#0D2855 #550D28 #28550D
tetradic
#0D2855 #550D4C #553A0D #0D5516
square
#0D2855 #550D4C #553A0D #0D5516
split-complementary
#0D2855 #55160D #4C550D
monochromatic
#040C1B #050F20 #0D2855 #15418A #1D5ABF

Accessibility & contrast

On white

14.46
#0D2855 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#0D2855 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2855
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2855#FFFFFF#000000##FFFFFF
##0D28551.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2D57
Deuteranopia (green-blind)
#002654
Tritanopia (blue-blind)
#00333A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0d2855;
/* rgb */ color: rgb(13, 40, 85);
/* oklch */ color: oklch(28.5% 0.088 260.1);
Tailwind
colors: {
  custom: {
    50: '#596185',
    500: '#0d2855',
    950: '#000000',
  },
}
SCSS
$custom: #0d2855;
$custom-light: #596185;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2855",
  "rgb": {
    "r": 13,
    "g": 40,
    "b": 85
  },
  "hsl": {
    "h": 217.5,
    "s": 73.469,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28545,
    "c": 0.08825,
    "h": 260.1
  },
  "luminance": 0.02259
}

Semantic roles & 50–950 ramp

primary
#0D2855
secondary
#906B2E
accent
#AB38F0
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0D2855

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

Preview Lab → · Contrast checker → · Palette generator →

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