#0D2F5D#0D2F5D

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

Color values

HEX#0D2F5D
RGBrgb(13, 47, 93)
HSLhsl(215, 75%, 21%)
HSVhsv(215, 86%, 36%)
CMYKcmyk(86%, 49.5%, 0%, 63.5%)
CIE-LABlab(19.67, 6.97, -30.93)
CIE-LCHlch(19.67, 31.70, 282.70°)
OKLaboklab(30.96% -0.02 -0.0888)
OKLCHoklch(30.96% 0.091 257.3)
XYZxyz(3.1575, 2.9085, 10.7488)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2F5D #5D3B0D
analogous
#0D575D #0D2F5D #130D5D
triadic
#0D2F5D #5D0D2F #2F5D0D
tetradic
#0D2F5D #5D0D57 #5D3B0D #0D5D13
square
#0D2F5D #5D0D57 #5D3B0D #0D5D13
split-complementary
#0D2F5D #5D130D #575D0D
monochromatic
#040E1B #051427 #0D2F5D #154A93 #1C65C8

Accessibility & contrast

On white

13.28
#0D2F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D2F5D
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2F5D#FFFFFF#000000##FFFFFF
##0D2F5D1.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16335F
Deuteranopia (green-blind)
#032C5C
Tritanopia (blue-blind)
#003A41
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0d2f5d;
/* rgb */ color: rgb(13, 47, 93);
/* oklch */ color: oklch(31.0% 0.091 257.3);
Tailwind
colors: {
  custom: {
    50: '#5b678b',
    500: '#0d2f5d',
    950: '#000000',
  },
}
SCSS
$custom: #0d2f5d;
$custom-light: #5b678b;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2f5d",
  "rgb": {
    "r": 13,
    "g": 47,
    "b": 93
  },
  "hsl": {
    "h": 214.5,
    "s": 75.472,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30956,
    "c": 0.09102,
    "h": 257.3
  },
  "luminance": 0.02909
}

Semantic roles & 50–950 ramp

primary
#0D2F5D
secondary
#976B2F
accent
#A236F2
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060C
muted
#797A7D

Preview Lab

Preview with #0D2F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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