#0D2658#0D2658

#0D2658 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.3% C 0.096 H 262.2°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#0D2658
RGBrgb(13, 38, 88)
HSLhsl(220, 74%, 20%)
HSVhsv(220, 85%, 35%)
CMYKcmyk(85.2%, 56.8%, 0%, 65.5%)
CIE-LABlab(16.39, 11.44, -32.91)
CIE-LCHlch(16.39, 34.84, 289.18°)
OKLaboklab(28.31% -0.013 -0.0948)
OKLCHoklch(28.31% 0.096 262.2)
XYZxyz(2.6199, 2.1761, 9.5126)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2658 #583F0D
analogous
#0D4C58 #0D2658 #1A0D58
triadic
#0D2658 #580D26 #26580D
tetradic
#0D2658 #580D4C #583F0D #0D581A
square
#0D2658 #580D4C #583F0D #0D581A
split-complementary
#0D2658 #581A0D #4C580D
monochromatic
#040C1B #050F23 #0D2658 #153D8D #1D54C3

Accessibility & contrast

On white

14.63
#0D2658 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#0D2658 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2658
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2658#FFFFFF#000000##FFFFFF
##0D26581.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032C5A
Deuteranopia (green-blind)
#002557
Tritanopia (blue-blind)
#00323B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0d2658;
/* rgb */ color: rgb(13, 38, 88);
/* oklch */ color: oklch(28.3% 0.096 262.2);
Tailwind
colors: {
  custom: {
    50: '#5a5f88',
    500: '#0d2658',
    950: '#000000',
  },
}
SCSS
$custom: #0d2658;
$custom-light: #5a5f88;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2658",
  "rgb": {
    "r": 13,
    "g": 38,
    "b": 88
  },
  "hsl": {
    "h": 220,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28312,
    "c": 0.09572,
    "h": 262.2
  },
  "luminance": 0.02176
}

Semantic roles & 50–950 ramp

primary
#0D2658
secondary
#93712E
accent
#B337F1
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0D2658

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

Preview Lab → · Contrast checker → · Palette generator →

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