#0D3150#0D3150

#0D3150 is a dark, moderate cyan. Relative luminance 0.029; OKLCH L 30.5% C 0.069 H 248.4°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#0D3150
RGBrgb(13, 49, 80)
HSLhsl(208, 72%, 18%)
HSVhsv(208, 84%, 31%)
CMYKcmyk(83.7%, 38.8%, 0%, 68.6%)
CIE-LABlab(19.48, -0.14, -22.59)
CIE-LCHlch(19.48, 22.59, 269.63°)
OKLaboklab(30.52% -0.0254 -0.0643)
OKLCHoklch(30.52% 0.069 248.4)
XYZxyz(2.7117, 2.8611, 7.9972)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D3150 #502C0D
analogous
#0D504D #0D3150 #0D0F50
triadic
#0D3150 #500D31 #31500D
tetradic
#0D3150 #4D0D50 #502C0D #0F500D
square
#0D3150 #4D0D50 #502C0D #0F500D
split-complementary
#0D3150 #500D0F #504D0D
monochromatic
#04101A #04111B #0D3150 #165185 #1E71B9

Accessibility & contrast

On white

13.36
#0D3150 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#0D3150 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D3150
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D3150#FFFFFF#000000##FFFFFF
##0D31501.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233351
Deuteranopia (green-blind)
#192C4F
Tritanopia (blue-blind)
#00383C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0d3150;
/* rgb */ color: rgb(13, 49, 80);
/* oklch */ color: oklch(30.5% 0.069 248.4);
Tailwind
colors: {
  custom: {
    50: '#576881',
    500: '#0d3150',
    950: '#000000',
  },
}
SCSS
$custom: #0d3150;
$custom-light: #576881;
$custom-dark: #000000;
JSON
{
  "hex": "#0d3150",
  "rgb": {
    "r": 13,
    "g": 49,
    "b": 80
  },
  "hsl": {
    "h": 207.761,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30523,
    "c": 0.06909,
    "h": 248.4
  },
  "luminance": 0.02861
}

Semantic roles & 50–950 ramp

primary
#0D3150
secondary
#8B592E
accent
#8D39EF
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #0D3150

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

Preview Lab → · Contrast checker → · Palette generator →

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