#0D275F#0D275F

#0D275F is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.2% C 0.105 H 262.9°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#0D275F
RGBrgb(13, 39, 95)
HSLhsl(221, 76%, 21%)
HSVhsv(221, 86%, 37%)
CMYKcmyk(86.3%, 58.9%, 0%, 62.7%)
CIE-LABlab(17.29, 13.77, -36.11)
CIE-LCHlch(17.29, 38.65, 290.88°)
OKLaboklab(29.18% -0.013 -0.1042)
OKLCHoklch(29.18% 0.105 262.9)
XYZxyz(2.9563, 2.3625, 11.1244)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D275F #5F450D
analogous
#0D505F #0D275F #1C0D5F
triadic
#0D275F #5F0D27 #275F0D
tetradic
#0D275F #5F0D50 #5F450D #0D5F1C
square
#0D275F #5F0D50 #5F450D #0D5F1C
split-complementary
#0D275F #5F1C0D #505F0D
monochromatic
#040B1B #061129 #0D275F #143D95 #1C53CB

Accessibility & contrast

On white

14.26
#0D275F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#0D275F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D275F
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D275F#FFFFFF#000000##FFFFFF
##0D275F1.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E61
Deuteranopia (green-blind)
#00275E
Tritanopia (blue-blind)
#00353E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0d275f;
/* rgb */ color: rgb(13, 39, 95);
/* oklch */ color: oklch(29.2% 0.105 262.9);
Tailwind
colors: {
  custom: {
    50: '#5c608d',
    500: '#0d275f',
    950: '#000000',
  },
}
SCSS
$custom: #0d275f;
$custom-light: #5c608d;
$custom-dark: #000000;
JSON
{
  "hex": "#0d275f",
  "rgb": {
    "r": 13,
    "g": 39,
    "b": 95
  },
  "hsl": {
    "h": 220.976,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29179,
    "c": 0.10503,
    "h": 262.9
  },
  "luminance": 0.02363
}

Semantic roles & 50–950 ramp

primary
#0D275F
secondary
#99772F
accent
#B735F3
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #0D275F

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

Preview Lab → · Contrast checker → · Palette generator →

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