#0D2750#0D2750

#0D2750 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.9% C 0.082 H 259.3°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#0D2750
RGBrgb(13, 39, 80)
HSLhsl(217, 72%, 18%)
HSVhsv(217, 84%, 31%)
CMYKcmyk(83.7%, 51.2%, 0%, 68.6%)
CIE-LABlab(16.08, 7.15, -28.01)
CIE-LCHlch(16.08, 28.90, 284.32°)
OKLaboklab(27.88% -0.0152 -0.0804)
OKLCHoklch(27.88% 0.082 259.3)
XYZxyz(2.3389, 2.1155, 7.8729)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2750 #50360D
analogous
#0D4850 #0D2750 #140D50
triadic
#0D2750 #500D27 #27500D
tetradic
#0D2750 #500D48 #50360D #0D5014
square
#0D2750 #500D48 #50360D #0D5014
split-complementary
#0D2750 #50140D #48500D
monochromatic
#040D1A #040D1B #0D2750 #164185 #1E5AB9

Accessibility & contrast

On white

14.76
#0D2750 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D2750
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2750#FFFFFF#000000##FFFFFF
##0D27501.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112B52
Deuteranopia (green-blind)
#02254F
Tritanopia (blue-blind)
#003137
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0d2750;
/* rgb */ color: rgb(13, 39, 80);
/* oklch */ color: oklch(27.9% 0.082 259.3);
Tailwind
colors: {
  custom: {
    50: '#576081',
    500: '#0d2750',
    950: '#000000',
  },
}
SCSS
$custom: #0d2750;
$custom-light: #576081;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2750",
  "rgb": {
    "r": 13,
    "g": 39,
    "b": 80
  },
  "hsl": {
    "h": 216.716,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.2788,
    "c": 0.0818,
    "h": 259.3
  },
  "luminance": 0.02116
}

Semantic roles & 50–950 ramp

primary
#0D2750
secondary
#8B672E
accent
#A839EF
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #0D2750

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

Preview Lab → · Contrast checker → · Palette generator →

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