#0D274D#0D274D

#0D274D is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.6% C 0.077 H 258.2°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#0D274D
RGBrgb(13, 39, 77)
HSLhsl(216, 71%, 18%)
HSVhsv(216, 83%, 30%)
CMYKcmyk(83.1%, 49.4%, 0%, 69.8%)
CIE-LABlab(15.86, 5.82, -26.32)
CIE-LCHlch(15.86, 26.96, 282.46°)
OKLaboklab(27.64% -0.0158 -0.0754)
OKLCHoklch(27.64% 0.077 258.2)
XYZxyz(2.2306, 2.0722, 7.3022)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D274D #4D330D
analogous
#0D474D #0D274D #130D4D
triadic
#0D274D #4D0D27 #274D0D
tetradic
#0D274D #4D0D47 #4D330D #0D4D13
square
#0D274D #4D0D47 #4D330D #0D4D13
split-complementary
#0D274D #4D130D #474D0D
monochromatic
#040D1A #040D1A #0D274D #164281 #1F5CB6

Accessibility & contrast

On white

14.85
#0D274D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#0D274D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D274D
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D274D#FFFFFF#000000##FFFFFF
##0D274D1.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142B4E
Deuteranopia (green-blind)
#07254C
Tritanopia (blue-blind)
#003036
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0d274d;
/* rgb */ color: rgb(13, 39, 77);
/* oklch */ color: oklch(27.6% 0.077 258.2);
Tailwind
colors: {
  custom: {
    50: '#57607f',
    500: '#0d274d',
    950: '#000000',
  },
}
SCSS
$custom: #0d274d;
$custom-light: #57607f;
$custom-dark: #000000;
JSON
{
  "hex": "#0d274d",
  "rgb": {
    "r": 13,
    "g": 39,
    "b": 77
  },
  "hsl": {
    "h": 215.625,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.27639,
    "c": 0.07706,
    "h": 258.2
  },
  "luminance": 0.02072
}

Semantic roles & 50–950 ramp

primary
#0D274D
secondary
#88632E
accent
#A53AEE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C

Preview Lab

Preview with #0D274D

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

Preview Lab → · Contrast checker → · Palette generator →

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