#0D274C#0D274C

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

Color values

HEX#0D274C
RGBrgb(13, 39, 76)
HSLhsl(215, 71%, 17%)
HSVhsv(215, 83%, 30%)
CMYKcmyk(82.9%, 48.7%, 0%, 70.2%)
CIE-LABlab(15.79, 5.37, -25.76)
CIE-LCHlch(15.79, 26.31, 281.78°)
OKLaboklab(27.56% -0.016 -0.0738)
OKLCHoklch(27.56% 0.075 257.8)
XYZxyz(2.1955, 2.0582, 7.1176)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D274C #4C320D
analogous
#0D474C #0D274C #120D4C
triadic
#0D274C #4C0D27 #274C0D
tetradic
#0D274C #4C0D47 #4C320D #0D4C12
square
#0D274C #4C0D47 #4C320D #0D4C12
split-complementary
#0D274C #4C120D #474C0D
monochromatic
#040D1A #040D1A #0D274C #164280 #1F5DB5

Accessibility & contrast

On white

14.88
#0D274C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D274C
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D274C#FFFFFF#000000##FFFFFF
##0D274C1.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142A4D
Deuteranopia (green-blind)
#08254B
Tritanopia (blue-blind)
#003035
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0d274c;
/* rgb */ color: rgb(13, 39, 76);
/* oklch */ color: oklch(27.6% 0.075 257.8);
Tailwind
colors: {
  custom: {
    50: '#56607e',
    500: '#0d274c',
    950: '#000000',
  },
}
SCSS
$custom: #0d274c;
$custom-light: #56607e;
$custom-dark: #000000;
JSON
{
  "hex": "#0d274c",
  "rgb": {
    "r": 13,
    "g": 39,
    "b": 76
  },
  "hsl": {
    "h": 215.238,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.2756,
    "c": 0.07548,
    "h": 257.8
  },
  "luminance": 0.02058
}

Semantic roles & 50–950 ramp

primary
#0D274C
secondary
#87622E
accent
#A43AEE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C

Preview Lab

Preview with #0D274C

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

Preview Lab → · Contrast checker → · Palette generator →

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