#0D2255#0D2255

#0D2255 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.1% C 0.097 H 264.1°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#0D2255
RGBrgb(13, 34, 85)
HSLhsl(223, 73%, 19%)
HSVhsv(223, 85%, 33%)
CMYKcmyk(84.7%, 60%, 0%, 66.7%)
CIE-LABlab(14.87, 13.15, -33.34)
CIE-LCHlch(14.87, 35.84, 291.52°)
OKLaboklab(27.09% -0.01 -0.0962)
OKLCHoklch(27.09% 0.097 264.1)
XYZxyz(2.3771, 1.8852, 8.8312)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2255 #55400D
analogous
#0D4655 #0D2255 #1C0D55
triadic
#0D2255 #550D22 #22550D
tetradic
#0D2255 #550D46 #55400D #0D551C
square
#0D2255 #550D46 #55400D #0D551C
split-complementary
#0D2255 #551C0D #46550D
monochromatic
#040B1B #050D20 #0D2255 #15378A #1D4CBF

Accessibility & contrast

On white

15.25
#0D2255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#0D2255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2255
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2255#FFFFFF#000000##FFFFFF
##0D22551.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002957
Deuteranopia (green-blind)
#002254
Tritanopia (blue-blind)
#002F37
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0d2255;
/* rgb */ color: rgb(13, 34, 85);
/* oklch */ color: oklch(27.1% 0.097 264.1);
Tailwind
colors: {
  custom: {
    50: '#595c85',
    500: '#0d2255',
    950: '#000000',
  },
}
SCSS
$custom: #0d2255;
$custom-light: #595c85;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2255",
  "rgb": {
    "r": 13,
    "g": 34,
    "b": 85
  },
  "hsl": {
    "h": 222.5,
    "s": 73.469,
    "l": 19.216
  },
  "oklch": {
    "l": 0.27086,
    "c": 0.09671,
    "h": 264.1
  },
  "luminance": 0.01885
}

Semantic roles & 50–950 ramp

primary
#0D2255
secondary
#90732E
accent
#BA38F0
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0D2255

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

Preview Lab → · Contrast checker → · Palette generator →

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