#0D3057#0D3057

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

Color values

HEX#0D3057
RGBrgb(13, 48, 87)
HSLhsl(212, 74%, 20%)
HSVhsv(212, 85%, 34%)
CMYKcmyk(85.1%, 44.8%, 0%, 65.9%)
CIE-LABlab(19.59, 3.61, -27.09)
CIE-LCHlch(19.59, 27.33, 277.59°)
OKLaboklab(30.75% -0.0223 -0.0775)
OKLCHoklch(30.75% 0.081 253.9)
XYZxyz(2.9426, 2.8872, 9.4172)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D3057 #57340D
analogous
#0D5557 #0D3057 #0F0D57
triadic
#0D3057 #570D30 #30570D
tetradic
#0D3057 #570D55 #57340D #0D570F
square
#0D3057 #570D55 #57340D #0D570F
split-complementary
#0D3057 #570F0D #55570D
monochromatic
#040F1B #051322 #0D3057 #154D8C #1D6BC1

Accessibility & contrast

On white

13.31
#0D3057 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D3057
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D3057#FFFFFF#000000##FFFFFF
##0D30571.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3359
Deuteranopia (green-blind)
#102C56
Tritanopia (blue-blind)
#00393F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0d3057;
/* rgb */ color: rgb(13, 48, 87);
/* oklch */ color: oklch(30.8% 0.081 253.9);
Tailwind
colors: {
  custom: {
    50: '#596786',
    500: '#0d3057',
    950: '#000000',
  },
}
SCSS
$custom: #0d3057;
$custom-light: #596786;
$custom-dark: #000000;
JSON
{
  "hex": "#0d3057",
  "rgb": {
    "r": 13,
    "g": 48,
    "b": 87
  },
  "hsl": {
    "h": 211.622,
    "s": 74,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30753,
    "c": 0.08065,
    "h": 253.9
  },
  "luminance": 0.02888
}

Semantic roles & 50–950 ramp

primary
#0D3057
secondary
#92632E
accent
#9937F1
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #0D3057

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

Preview Lab → · Contrast checker → · Palette generator →

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