#0D275B#0D275B

#0D275B is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.8% C 0.099 H 262.2°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#0D275B
RGBrgb(13, 39, 91)
HSLhsl(220, 75%, 20%)
HSVhsv(220, 86%, 36%)
CMYKcmyk(85.7%, 57.1%, 0%, 64.3%)
CIE-LABlab(16.95, 12.02, -34.00)
CIE-LCHlch(16.95, 36.06, 289.47°)
OKLaboklab(28.82% -0.0135 -0.098)
OKLCHoklch(28.82% 0.099 262.2)
XYZxyz(2.7791, 2.2916, 10.1914)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D275B #5B410D
analogous
#0D4E5B #0D275B #1A0D5B
triadic
#0D275B #5B0D27 #275B0D
tetradic
#0D275B #5B0D4E #5B410D #0D5B1A
square
#0D275B #5B0D4E #5B410D #0D5B1A
split-complementary
#0D275B #5B1A0D #4E5B0D
monochromatic
#040B1B #051025 #0D275B #153E91 #1C55C6

Accessibility & contrast

On white

14.40
#0D275B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0D275B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D275B
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D275B#FFFFFF#000000##FFFFFF
##0D275B1.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022E5D
Deuteranopia (green-blind)
#00265A
Tritanopia (blue-blind)
#00343C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0d275b;
/* rgb */ color: rgb(13, 39, 91);
/* oklch */ color: oklch(28.8% 0.099 262.2);
Tailwind
colors: {
  custom: {
    50: '#5b608a',
    500: '#0d275b',
    950: '#000000',
  },
}
SCSS
$custom: #0d275b;
$custom-light: #5b608a;
$custom-dark: #000000;
JSON
{
  "hex": "#0d275b",
  "rgb": {
    "r": 13,
    "g": 39,
    "b": 91
  },
  "hsl": {
    "h": 220,
    "s": 75,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28818,
    "c": 0.09893,
    "h": 262.2
  },
  "luminance": 0.02292
}

Semantic roles & 50–950 ramp

primary
#0D275B
secondary
#95732F
accent
#B336F2
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040C
muted
#79797D

Preview Lab

Preview with #0D275B

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

Preview Lab → · Contrast checker → · Palette generator →

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