#0D2F5E#0D2F5E

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

Color values

HEX#0D2F5E
RGBrgb(13, 47, 94)
HSLhsl(215, 76%, 21%)
HSVhsv(215, 86%, 37%)
CMYKcmyk(86.2%, 50%, 0%, 63.1%)
CIE-LABlab(19.75, 7.41, -31.47)
CIE-LCHlch(19.75, 32.33, 283.24°)
OKLaboklab(31.04% -0.0198 -0.0904)
OKLCHoklch(31.04% 0.093 257.6)
XYZxyz(3.2021, 2.9264, 10.9836)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2F5E #5E3C0D
analogous
#0D575E #0D2F5E #130D5E
triadic
#0D2F5E #5E0D2F #2F5E0D
tetradic
#0D2F5E #5E0D57 #5E3C0D #0D5E13
square
#0D2F5E #5E0D57 #5E3C0D #0D5E13
split-complementary
#0D2F5E #5E130D #575E0D
monochromatic
#040D1B #061428 #0D2F5E #144A94 #1C65CA

Accessibility & contrast

On white

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

On black

1.59
#0D2F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##0D2F5E#FFFFFF#000000##FFFFFF
##0D2F5E1.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153460
Deuteranopia (green-blind)
#012C5D
Tritanopia (blue-blind)
#003A42
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0d2f5e;
/* rgb */ color: rgb(13, 47, 94);
/* oklch */ color: oklch(31.0% 0.093 257.6);
Tailwind
colors: {
  custom: {
    50: '#5b678c',
    500: '#0d2f5e',
    950: '#000000',
  },
}
SCSS
$custom: #0d2f5e;
$custom-light: #5b678c;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2f5e",
  "rgb": {
    "r": 13,
    "g": 47,
    "b": 94
  },
  "hsl": {
    "h": 214.815,
    "s": 75.701,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31035,
    "c": 0.09254,
    "h": 257.6
  },
  "luminance": 0.02927
}

Semantic roles & 50–950 ramp

primary
#0D2F5E
secondary
#986C2F
accent
#A336F2
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060C
muted
#797A7D

Preview Lab

Preview with #0D2F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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