#0D275A#0D275A

#0D275A is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.7% C 0.097 H 262.0°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#0D275A
RGBrgb(13, 39, 90)
HSLhsl(220, 75%, 20%)
HSVhsv(220, 86%, 35%)
CMYKcmyk(85.6%, 56.7%, 0%, 64.7%)
CIE-LABlab(16.87, 11.58, -33.47)
CIE-LCHlch(16.87, 35.41, 289.08°)
OKLaboklab(28.73% -0.0136 -0.0964)
OKLCHoklch(28.73% 0.097 262)
XYZxyz(2.7363, 2.2745, 9.9657)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D275A #5A400D
analogous
#0D4D5A #0D275A #190D5A
triadic
#0D275A #5A0D27 #275A0D
tetradic
#0D275A #5A0D4D #5A400D #0D5A19
square
#0D275A #5A0D4D #5A400D #0D5A19
split-complementary
#0D275A #5A190D #4D5A0D
monochromatic
#040C1B #051025 #0D275A #153E8F #1C55C5

Accessibility & contrast

On white

14.43
#0D275A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D275A
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D275A#FFFFFF#000000##FFFFFF
##0D275A1.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032D5C
Deuteranopia (green-blind)
#002659
Tritanopia (blue-blind)
#00333C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0d275a;
/* rgb */ color: rgb(13, 39, 90);
/* oklch */ color: oklch(28.7% 0.097 262.0);
Tailwind
colors: {
  custom: {
    50: '#5a6089',
    500: '#0d275a',
    950: '#000000',
  },
}
SCSS
$custom: #0d275a;
$custom-light: #5a6089;
$custom-dark: #000000;
JSON
{
  "hex": "#0d275a",
  "rgb": {
    "r": 13,
    "g": 39,
    "b": 90
  },
  "hsl": {
    "h": 219.74,
    "s": 74.757,
    "l": 20.196
  },
  "oklch": {
    "l": 0.2873,
    "c": 0.09739,
    "h": 262
  },
  "luminance": 0.02275
}

Semantic roles & 50–950 ramp

primary
#0D275A
secondary
#94722E
accent
#B236F1
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040B
muted
#79797C

Preview Lab

Preview with #0D275A

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

Preview Lab → · Contrast checker → · Palette generator →

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