#0D285F#0D285F

#0D285F is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.4% C 0.104 H 262.3°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#0D285F
RGBrgb(13, 40, 95)
HSLhsl(220, 76%, 21%)
HSVhsv(220, 86%, 37%)
CMYKcmyk(86.3%, 57.9%, 0%, 62.7%)
CIE-LABlab(17.59, 13.03, -35.61)
CIE-LCHlch(17.59, 37.92, 290.10°)
OKLaboklab(29.41% -0.0138 -0.1027)
OKLCHoklch(29.41% 0.104 262.3)
XYZxyz(2.9896, 2.4290, 11.1355)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D285F #5F440D
analogous
#0D515F #0D285F #1B0D5F
triadic
#0D285F #5F0D28 #285F0D
tetradic
#0D285F #5F0D51 #5F440D #0D5F1B
square
#0D285F #5F0D51 #5F440D #0D5F1B
split-complementary
#0D285F #5F1B0D #515F0D
monochromatic
#040B1B #061129 #0D285F #143F95 #1C55CB

Accessibility & contrast

On white

14.13
#0D285F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#0D285F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D285F
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D285F#FFFFFF#000000##FFFFFF
##0D285F1.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F61
Deuteranopia (green-blind)
#00285E
Tritanopia (blue-blind)
#00363F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0d285f;
/* rgb */ color: rgb(13, 40, 95);
/* oklch */ color: oklch(29.4% 0.104 262.3);
Tailwind
colors: {
  custom: {
    50: '#5c618d',
    500: '#0d285f',
    950: '#000000',
  },
}
SCSS
$custom: #0d285f;
$custom-light: #5c618d;
$custom-dark: #000000;
JSON
{
  "hex": "#0d285f",
  "rgb": {
    "r": 13,
    "g": 40,
    "b": 95
  },
  "hsl": {
    "h": 220.244,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29414,
    "c": 0.10364,
    "h": 262.3
  },
  "luminance": 0.02429
}

Semantic roles & 50–950 ramp

primary
#0D285F
secondary
#99762F
accent
#B435F3
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #0D285F

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

Preview Lab → · Contrast checker → · Palette generator →

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