#0D274F#0D274F

#0D274F is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.8% C 0.080 H 259.0°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#0D274F
RGBrgb(13, 39, 79)
HSLhsl(216, 72%, 18%)
HSVhsv(216, 84%, 31%)
CMYKcmyk(83.5%, 50.6%, 0%, 69%)
CIE-LABlab(16.01, 6.70, -27.45)
CIE-LCHlch(16.01, 28.25, 283.73°)
OKLaboklab(27.8% -0.0154 -0.0787)
OKLCHoklch(27.8% 0.08 259)
XYZxyz(2.3023, 2.1009, 7.6798)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D274F #4F350D
analogous
#0D484F #0D274F #140D4F
triadic
#0D274F #4F0D27 #274F0D
tetradic
#0D274F #4F0D48 #4F350D #0D4F14
square
#0D274F #4F0D48 #4F350D #0D4F14
split-complementary
#0D274F #4F140D #484F0D
monochromatic
#040D1A #040D1A #0D274F #164184 #1E5BB8

Accessibility & contrast

On white

14.79
#0D274F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D274F
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D274F#FFFFFF#000000##FFFFFF
##0D274F1.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122B51
Deuteranopia (green-blind)
#04254E
Tritanopia (blue-blind)
#003037
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0d274f;
/* rgb */ color: rgb(13, 39, 79);
/* oklch */ color: oklch(27.8% 0.080 259.0);
Tailwind
colors: {
  custom: {
    50: '#576081',
    500: '#0d274f',
    950: '#000000',
  },
}
SCSS
$custom: #0d274f;
$custom-light: #576081;
$custom-dark: #000000;
JSON
{
  "hex": "#0d274f",
  "rgb": {
    "r": 13,
    "g": 39,
    "b": 79
  },
  "hsl": {
    "h": 216.364,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27799,
    "c": 0.08022,
    "h": 259
  },
  "luminance": 0.02101
}

Semantic roles & 50–950 ramp

primary
#0D274F
secondary
#8A662E
accent
#A739EE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #0D274F

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

Preview Lab → · Contrast checker → · Palette generator →

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