#0D2940#0D2940

#0D2940 is a dark, muted cyan. Relative luminance 0.020; OKLCH L 27.2% C 0.054 H 246.5°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#0D2940
RGBrgb(13, 41, 64)
HSLhsl(207, 66%, 15%)
HSVhsv(207, 80%, 25%)
CMYKcmyk(79.7%, 35.9%, 0%, 74.9%)
CIE-LABlab(15.70, -1.33, -17.64)
CIE-LCHlch(15.70, 17.69, 265.67°)
OKLaboklab(27.24% -0.0217 -0.0499)
OKLCHoklch(27.24% 0.054 246.5)
XYZxyz(1.8840, 2.0414, 5.1442)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2940 #40240D
analogous
#0D403E #0D2940 #0D0F40
triadic
#0D2940 #400D29 #29400D
tetradic
#0D2940 #3E0D40 #40240D #0F400D
square
#0D2940 #3E0D40 #40240D #0F400D
split-complementary
#0D2940 #400D0F #403E0D
monochromatic
#051019 #051019 #0D2940 #174A73 #226AA6

Accessibility & contrast

On white

14.91
#0D2940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#0D2940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2940
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2940#FFFFFF#000000##FFFFFF
##0D29401.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2A41
Deuteranopia (green-blind)
#182540
Tritanopia (blue-blind)
#002F31
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0d2940;
/* rgb */ color: rgb(13, 41, 64);
/* oklch */ color: oklch(27.2% 0.054 246.5);
Tailwind
colors: {
  custom: {
    50: '#536275',
    500: '#0d2940',
    950: '#000000',
  },
}
SCSS
$custom: #0d2940;
$custom-light: #536275;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2940",
  "rgb": {
    "r": 13,
    "g": 41,
    "b": 64
  },
  "hsl": {
    "h": 207.059,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.27238,
    "c": 0.05448,
    "h": 246.5
  },
  "luminance": 0.02042
}

Semantic roles & 50–950 ramp

primary
#0D2940
secondary
#7C512D
accent
#8C3FE9
background
#F5F5F7
surface
#E8EAED
border
#C4C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #0D2940

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

Preview Lab → · Contrast checker → · Palette generator →

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