#0D2258#0D2258

#0D2258 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.4% C 0.101 H 264.5°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#0D2258
RGBrgb(13, 34, 88)
HSLhsl(223, 74%, 20%)
HSVhsv(223, 85%, 35%)
CMYKcmyk(85.2%, 61.4%, 0%, 65.5%)
CIE-LABlab(15.14, 14.46, -34.94)
CIE-LCHlch(15.14, 37.81, 292.49°)
OKLaboklab(27.37% -0.0098 -0.1009)
OKLCHoklch(27.37% 0.101 264.5)
XYZxyz(2.4988, 1.9339, 9.4722)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2258 #58430D
analogous
#0D4858 #0D2258 #1E0D58
triadic
#0D2258 #580D22 #22580D
tetradic
#0D2258 #580D48 #58430D #0D581E
square
#0D2258 #580D48 #58430D #0D581E
split-complementary
#0D2258 #581E0D #48580D
monochromatic
#040A1B #050D23 #0D2258 #15378D #1D4BC3

Accessibility & contrast

On white

15.14
#0D2258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#0D2258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2258
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2258#FFFFFF#000000##FFFFFF
##0D22581.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5A
Deuteranopia (green-blind)
#002357
Tritanopia (blue-blind)
#002F39
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0d2258;
/* rgb */ color: rgb(13, 34, 88);
/* oklch */ color: oklch(27.4% 0.101 264.5);
Tailwind
colors: {
  custom: {
    50: '#5a5c88',
    500: '#0d2258',
    950: '#000000',
  },
}
SCSS
$custom: #0d2258;
$custom-light: #5a5c88;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2258",
  "rgb": {
    "r": 13,
    "g": 34,
    "b": 88
  },
  "hsl": {
    "h": 223.2,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27367,
    "c": 0.10134,
    "h": 264.5
  },
  "luminance": 0.01934
}

Semantic roles & 50–950 ramp

primary
#0D2258
secondary
#93762E
accent
#BD37F1
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040B
muted
#79797C

Preview Lab

Preview with #0D2258

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

Preview Lab → · Contrast checker → · Palette generator →

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