#0D3154#0D3154

#0D3154 is a dark, moderate cyan. Relative luminance 0.029; OKLCH L 30.8% C 0.075 H 251.2°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#0D3154
RGBrgb(13, 49, 84)
HSLhsl(210, 73%, 19%)
HSVhsv(210, 85%, 33%)
CMYKcmyk(84.5%, 41.7%, 0%, 67.1%)
CIE-LABlab(19.73, 1.59, -24.87)
CIE-LCHlch(19.73, 24.92, 273.65°)
OKLaboklab(30.8% -0.0242 -0.0709)
OKLCHoklch(30.8% 0.075 251.2)
XYZxyz(2.8639, 2.9219, 8.7988)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D3154 #54300D
analogous
#0D5454 #0D3154 #0D0E54
triadic
#0D3154 #540D31 #31540D
tetradic
#0D3154 #540D54 #54300D #0E540D
square
#0D3154 #540D54 #54300D #0E540D
split-complementary
#0D3154 #540D0E #54540D
monochromatic
#040F1A #05121F #0D3154 #155089 #1D6FBE

Accessibility & contrast

On white

13.25
#0D3154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#0D3154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D3154
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D3154#FFFFFF#000000##FFFFFF
##0D31541.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203355
Deuteranopia (green-blind)
#152D53
Tritanopia (blue-blind)
#00393E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0d3154;
/* rgb */ color: rgb(13, 49, 84);
/* oklch */ color: oklch(30.8% 0.075 251.2);
Tailwind
colors: {
  custom: {
    50: '#586884',
    500: '#0d3154',
    950: '#000000',
  },
}
SCSS
$custom: #0d3154;
$custom-light: #586884;
$custom-dark: #000000;
JSON
{
  "hex": "#0d3154",
  "rgb": {
    "r": 13,
    "g": 49,
    "b": 84
  },
  "hsl": {
    "h": 209.577,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.308,
    "c": 0.07494,
    "h": 251.2
  },
  "luminance": 0.02922
}

Semantic roles & 50–950 ramp

primary
#0D3154
secondary
#8F5E2E
accent
#9338F0
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #0D3154

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

Preview Lab → · Contrast checker → · Palette generator →

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