#0D2F58#0D2F58

#0D2F58 is a dark, moderate cyan. Relative luminance 0.028; OKLCH L 30.6% C 0.083 H 255.3°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#0D2F58
RGBrgb(13, 47, 88)
HSLhsl(213, 74%, 20%)
HSVhsv(213, 85%, 35%)
CMYKcmyk(85.2%, 46.6%, 0%, 65.5%)
CIE-LABlab(19.32, 4.77, -28.18)
CIE-LCHlch(19.32, 28.58, 279.61°)
OKLaboklab(30.57% -0.0211 -0.0807)
OKLCHoklch(30.57% 0.083 255.3)
XYZxyz(2.9433, 2.8228, 9.6204)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2F58 #58360D
analogous
#0D5558 #0D2F58 #110D58
triadic
#0D2F58 #580D2F #2F580D
tetradic
#0D2F58 #580D55 #58360D #0D5811
square
#0D2F58 #580D55 #58360D #0D5811
split-complementary
#0D2F58 #58110D #55580D
monochromatic
#040E1B #051323 #0D2F58 #154B8D #1D68C3

Accessibility & contrast

On white

13.42
#0D2F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#0D2F58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2F58
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2F58#FFFFFF#000000##FFFFFF
##0D2F581.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A325A
Deuteranopia (green-blind)
#0C2C57
Tritanopia (blue-blind)
#00393F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0d2f58;
/* rgb */ color: rgb(13, 47, 88);
/* oklch */ color: oklch(30.6% 0.083 255.3);
Tailwind
colors: {
  custom: {
    50: '#596787',
    500: '#0d2f58',
    950: '#000000',
  },
}
SCSS
$custom: #0d2f58;
$custom-light: #596787;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2f58",
  "rgb": {
    "r": 13,
    "g": 47,
    "b": 88
  },
  "hsl": {
    "h": 212.8,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30568,
    "c": 0.08344,
    "h": 255.3
  },
  "luminance": 0.02823
}

Semantic roles & 50–950 ramp

primary
#0D2F58
secondary
#93652E
accent
#9D37F1
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #0D2F58

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

Preview Lab → · Contrast checker → · Palette generator →

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