#0D2357#0D2357

#0D2357 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.5% C 0.098 H 263.8°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#0D2357
RGBrgb(13, 35, 87)
HSLhsl(222, 74%, 20%)
HSVhsv(222, 85%, 34%)
CMYKcmyk(85.1%, 59.8%, 0%, 65.9%)
CIE-LABlab(15.36, 13.27, -33.90)
CIE-LCHlch(15.36, 36.41, 291.37°)
OKLaboklab(27.51% -0.0106 -0.0978)
OKLCHoklch(27.51% 0.098 263.8)
XYZxyz(2.4867, 1.9755, 9.2652)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2357 #57410D
analogous
#0D4857 #0D2357 #1C0D57
triadic
#0D2357 #570D23 #23570D
tetradic
#0D2357 #570D48 #57410D #0D571C
square
#0D2357 #570D48 #57410D #0D571C
split-complementary
#0D2357 #571C0D #48570D
monochromatic
#040B1B #050E22 #0D2357 #15388C #1D4EC1

Accessibility & contrast

On white

15.05
#0D2357 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D2357
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2357#FFFFFF#000000##FFFFFF
##0D23571.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A59
Deuteranopia (green-blind)
#002356
Tritanopia (blue-blind)
#003039
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0d2357;
/* rgb */ color: rgb(13, 35, 87);
/* oklch */ color: oklch(27.5% 0.098 263.8);
Tailwind
colors: {
  custom: {
    50: '#5a5d87',
    500: '#0d2357',
    950: '#000000',
  },
}
SCSS
$custom: #0d2357;
$custom-light: #5a5d87;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2357",
  "rgb": {
    "r": 13,
    "g": 35,
    "b": 87
  },
  "hsl": {
    "h": 222.162,
    "s": 74,
    "l": 19.608
  },
  "oklch": {
    "l": 0.27507,
    "c": 0.0984,
    "h": 263.8
  },
  "luminance": 0.01976
}

Semantic roles & 50–950 ramp

primary
#0D2357
secondary
#92742E
accent
#BA37F1
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0D2357

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

Preview Lab → · Contrast checker → · Palette generator →

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