#0D2458#0D2458

#0D2458 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.8% C 0.099 H 263.4°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#0D2458
RGBrgb(13, 36, 88)
HSLhsl(222, 74%, 20%)
HSVhsv(222, 85%, 35%)
CMYKcmyk(85.2%, 59.1%, 0%, 65.5%)
CIE-LABlab(15.76, 12.95, -33.93)
CIE-LCHlch(15.76, 36.32, 290.90°)
OKLaboklab(27.83% -0.0114 -0.0979)
OKLCHoklch(27.83% 0.099 263.4)
XYZxyz(2.5577, 2.0516, 9.4918)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2458 #58410D
analogous
#0D4A58 #0D2458 #1C0D58
triadic
#0D2458 #580D24 #24580D
tetradic
#0D2458 #580D4A #58410D #0D581C
square
#0D2458 #580D4A #58410D #0D581C
split-complementary
#0D2458 #581C0D #4A580D
monochromatic
#040B1B #050E23 #0D2458 #153A8D #1D50C3

Accessibility & contrast

On white

14.89
#0D2458 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#0D2458 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2458
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2458#FFFFFF#000000##FFFFFF
##0D24581.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5A
Deuteranopia (green-blind)
#002457
Tritanopia (blue-blind)
#00313A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0d2458;
/* rgb */ color: rgb(13, 36, 88);
/* oklch */ color: oklch(27.8% 0.099 263.4);
Tailwind
colors: {
  custom: {
    50: '#5a5e88',
    500: '#0d2458',
    950: '#000000',
  },
}
SCSS
$custom: #0d2458;
$custom-light: #5a5e88;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2458",
  "rgb": {
    "r": 13,
    "g": 36,
    "b": 88
  },
  "hsl": {
    "h": 221.6,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27834,
    "c": 0.09853,
    "h": 263.4
  },
  "luminance": 0.02052
}

Semantic roles & 50–950 ramp

primary
#0D2458
secondary
#93742E
accent
#B837F1
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040B
muted
#79797C

Preview Lab

Preview with #0D2458

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

Preview Lab → · Contrast checker → · Palette generator →

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