#0D274E#0D274E

#0D274E is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.7% C 0.079 H 258.6°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#0D274E
RGBrgb(13, 39, 78)
HSLhsl(216, 71%, 18%)
HSVhsv(216, 83%, 31%)
CMYKcmyk(83.3%, 50%, 0%, 69.4%)
CIE-LABlab(15.93, 6.26, -26.89)
CIE-LCHlch(15.93, 27.61, 283.11°)
OKLaboklab(27.72% -0.0156 -0.0771)
OKLCHoklch(27.72% 0.079 258.6)
XYZxyz(2.2661, 2.0864, 7.4895)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D274E #4E340D
analogous
#0D474E #0D274E #130D4E
triadic
#0D274E #4E0D27 #274E0D
tetradic
#0D274E #4E0D47 #4E340D #0D4E13
square
#0D274E #4E0D47 #4E340D #0D4E13
split-complementary
#0D274E #4E130D #474E0D
monochromatic
#040D1A #040D1A #0D274E #164182 #1E5BB7

Accessibility & contrast

On white

14.82
#0D274E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#0D274E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D274E
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D274E#FFFFFF#000000##FFFFFF
##0D274E1.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132B4F
Deuteranopia (green-blind)
#05254D
Tritanopia (blue-blind)
#003036
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0d274e;
/* rgb */ color: rgb(13, 39, 78);
/* oklch */ color: oklch(27.7% 0.079 258.6);
Tailwind
colors: {
  custom: {
    50: '#576080',
    500: '#0d274e',
    950: '#000000',
  },
}
SCSS
$custom: #0d274e;
$custom-light: #576080;
$custom-dark: #000000;
JSON
{
  "hex": "#0d274e",
  "rgb": {
    "r": 13,
    "g": 39,
    "b": 78
  },
  "hsl": {
    "h": 216,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.27718,
    "c": 0.07865,
    "h": 258.6
  },
  "luminance": 0.02087
}

Semantic roles & 50–950 ramp

primary
#0D274E
secondary
#89652E
accent
#A63AEE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C

Preview Lab

Preview with #0D274E

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

Preview Lab → · Contrast checker → · Palette generator →

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