#0D3A58#0D3A58

#0D3A58 is a dark, moderate cyan. Relative luminance 0.038; OKLCH L 33.5% C 0.071 H 242.9°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#0D3A58
RGBrgb(13, 58, 88)
HSLhsl(204, 74%, 20%)
HSVhsv(204, 85%, 35%)
CMYKcmyk(85.2%, 34.1%, 0%, 65.5%)
CIE-LABlab(23.05, -2.94, -22.25)
CIE-LCHlch(23.05, 22.45, 262.46°)
OKLaboklab(33.49% -0.0322 -0.0631)
OKLCHoklch(33.49% 0.071 242.9)
XYZxyz(3.4398, 3.8158, 9.7859)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D3A58 #582B0D
analogous
#0D5851 #0D3A58 #0D1558
triadic
#0D3A58 #580D3A #3A580D
tetradic
#0D3A58 #510D58 #582B0D #15580D
square
#0D3A58 #510D58 #582B0D #15580D
split-complementary
#0D3A58 #580D15 #58510D
monochromatic
#04121B #051723 #0D3A58 #155D8D #1D80C3

Accessibility & contrast

On white

11.91
#0D3A58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#0D3A58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D3A58
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D3A58#FFFFFF#000000##FFFFFF
##0D3A581.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3B59
Deuteranopia (green-blind)
#223457
Tritanopia (blue-blind)
#004145
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0d3a58;
/* rgb */ color: rgb(13, 58, 88);
/* oklch */ color: oklch(33.5% 0.071 242.9);
Tailwind
colors: {
  custom: {
    50: '#596f87',
    500: '#0d3a58',
    950: '#000000',
  },
}
SCSS
$custom: #0d3a58;
$custom-light: #596f87;
$custom-dark: #000000;
JSON
{
  "hex": "#0d3a58",
  "rgb": {
    "r": 13,
    "g": 58,
    "b": 88
  },
  "hsl": {
    "h": 204,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.33494,
    "c": 0.07089,
    "h": 242.9
  },
  "luminance": 0.03816
}

Semantic roles & 50–950 ramp

primary
#0D3A58
secondary
#93562E
accent
#8137F1
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04070B
muted
#797A7C

Preview Lab

Preview with #0D3A58

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

Preview Lab → · Contrast checker → · Palette generator →

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