#0D2754#0D2754

#0D2754 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.2% C 0.088 H 260.6°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#0D2754
RGBrgb(13, 39, 84)
HSLhsl(218, 73%, 19%)
HSVhsv(218, 85%, 33%)
CMYKcmyk(84.5%, 53.6%, 0%, 67.1%)
CIE-LABlab(16.39, 8.92, -30.22)
CIE-LCHlch(16.39, 31.51, 286.45°)
OKLaboklab(28.21% -0.0144 -0.0869)
OKLCHoklch(28.21% 0.088 260.6)
XYZxyz(2.4912, 2.1764, 8.6746)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2754 #543A0D
analogous
#0D4B54 #0D2754 #170D54
triadic
#0D2754 #540D27 #27540D
tetradic
#0D2754 #540D4B #543A0D #0D5417
square
#0D2754 #540D4B #543A0D #0D5417
split-complementary
#0D2754 #54170D #4B540D
monochromatic
#040C1A #050E1F #0D2754 #154089 #1D58BE

Accessibility & contrast

On white

14.63
#0D2754 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#0D2754 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2754
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2754#FFFFFF#000000##FFFFFF
##0D27541.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2C56
Deuteranopia (green-blind)
#002653
Tritanopia (blue-blind)
#003239
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0d2754;
/* rgb */ color: rgb(13, 39, 84);
/* oklch */ color: oklch(28.2% 0.088 260.6);
Tailwind
colors: {
  custom: {
    50: '#586084',
    500: '#0d2754',
    950: '#000000',
  },
}
SCSS
$custom: #0d2754;
$custom-light: #586084;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2754",
  "rgb": {
    "r": 13,
    "g": 39,
    "b": 84
  },
  "hsl": {
    "h": 218.028,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28211,
    "c": 0.08808,
    "h": 260.6
  },
  "luminance": 0.02177
}

Semantic roles & 50–950 ramp

primary
#0D2754
secondary
#8F6B2E
accent
#AD38F0
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0D2754

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

Preview Lab → · Contrast checker → · Palette generator →

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