#0D2755#0D2755

#0D2755 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.3% C 0.090 H 260.8°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#0D2755
RGBrgb(13, 39, 85)
HSLhsl(218, 73%, 19%)
HSVhsv(218, 85%, 33%)
CMYKcmyk(84.7%, 54.1%, 0%, 66.7%)
CIE-LABlab(16.47, 9.37, -30.77)
CIE-LCHlch(16.47, 32.16, 286.93°)
OKLaboklab(28.3% -0.0143 -0.0885)
OKLCHoklch(28.3% 0.09 260.8)
XYZxyz(2.5306, 2.1922, 8.8823)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2755 #553B0D
analogous
#0D4B55 #0D2755 #170D55
triadic
#0D2755 #550D27 #27550D
tetradic
#0D2755 #550D4B #553B0D #0D5517
square
#0D2755 #550D4B #553B0D #0D5517
split-complementary
#0D2755 #55170D #4B550D
monochromatic
#040C1B #050F20 #0D2755 #153F8A #1D58BF

Accessibility & contrast

On white

14.60
#0D2755 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D2755
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2755#FFFFFF#000000##FFFFFF
##0D27551.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2C57
Deuteranopia (green-blind)
#002654
Tritanopia (blue-blind)
#00323A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0d2755;
/* rgb */ color: rgb(13, 39, 85);
/* oklch */ color: oklch(28.3% 0.090 260.8);
Tailwind
colors: {
  custom: {
    50: '#596085',
    500: '#0d2755',
    950: '#000000',
  },
}
SCSS
$custom: #0d2755;
$custom-light: #596085;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2755",
  "rgb": {
    "r": 13,
    "g": 39,
    "b": 85
  },
  "hsl": {
    "h": 218.333,
    "s": 73.469,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28296,
    "c": 0.08964,
    "h": 260.8
  },
  "luminance": 0.02192
}

Semantic roles & 50–950 ramp

primary
#0D2755
secondary
#906C2E
accent
#AE38F0
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0D2755

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

Preview Lab → · Contrast checker → · Palette generator →

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