#0D2358#0D2358

#0D2358 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.6% C 0.100 H 263.9°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#0D2358
RGBrgb(13, 35, 88)
HSLhsl(222, 74%, 20%)
HSVhsv(222, 85%, 35%)
CMYKcmyk(85.2%, 60.2%, 0%, 65.5%)
CIE-LABlab(15.44, 13.71, -34.43)
CIE-LCHlch(15.44, 37.06, 291.71°)
OKLaboklab(27.6% -0.0105 -0.0994)
OKLCHoklch(27.6% 0.1 263.9)
XYZxyz(2.5278, 1.9919, 9.4819)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2358 #58420D
analogous
#0D4958 #0D2358 #1D0D58
triadic
#0D2358 #580D23 #23580D
tetradic
#0D2358 #580D49 #58420D #0D581D
square
#0D2358 #580D49 #58420D #0D581D
split-complementary
#0D2358 #581D0D #49580D
monochromatic
#040B1B #050E23 #0D2358 #15388D #1D4DC3

Accessibility & contrast

On white

15.02
#0D2358 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#0D2358 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2358
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2358#FFFFFF#000000##FFFFFF
##0D23581.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d2358;
/* rgb */ color: rgb(13, 35, 88);
/* oklch */ color: oklch(27.6% 0.100 263.9);
Tailwind
colors: {
  custom: {
    50: '#5a5d88',
    500: '#0d2358',
    950: '#000000',
  },
}
SCSS
$custom: #0d2358;
$custom-light: #5a5d88;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2358",
  "rgb": {
    "r": 13,
    "g": 35,
    "b": 88
  },
  "hsl": {
    "h": 222.4,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27599,
    "c": 0.09994,
    "h": 263.9
  },
  "luminance": 0.01992
}

Semantic roles & 50–950 ramp

primary
#0D2358
secondary
#93752E
accent
#BA37F1
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040B
muted
#79797C

Preview Lab

Preview with #0D2358

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

Preview Lab → · Contrast checker → · Palette generator →

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