#0D2F5C#0D2F5C

#0D2F5C is a dark, moderate cyan. Relative luminance 0.029; OKLCH L 30.9% C 0.090 H 256.9°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#0D2F5C
RGBrgb(13, 47, 92)
HSLhsl(214, 75%, 21%)
HSVhsv(214, 86%, 36%)
CMYKcmyk(85.9%, 48.9%, 0%, 63.9%)
CIE-LABlab(19.60, 6.53, -30.38)
CIE-LCHlch(19.60, 31.08, 282.13°)
OKLaboklab(30.88% -0.0202 -0.0872)
OKLCHoklch(30.88% 0.09 256.9)
XYZxyz(3.1135, 2.8909, 10.5170)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2F5C #5C3A0D
analogous
#0D565C #0D2F5C #120D5C
triadic
#0D2F5C #5C0D2F #2F5C0D
tetradic
#0D2F5C #5C0D56 #5C3A0D #0D5C12
square
#0D2F5C #5C0D56 #5C3A0D #0D5C12
split-complementary
#0D2F5C #5C120D #565C0D
monochromatic
#040E1B #051426 #0D2F5C #154A92 #1C66C7

Accessibility & contrast

On white

13.31
#0D2F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D2F5C
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2F5C#FFFFFF#000000##FFFFFF
##0D2F5C1.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17335E
Deuteranopia (green-blind)
#052C5B
Tritanopia (blue-blind)
#003A41
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0d2f5c;
/* rgb */ color: rgb(13, 47, 92);
/* oklch */ color: oklch(30.9% 0.090 256.9);
Tailwind
colors: {
  custom: {
    50: '#5a678a',
    500: '#0d2f5c',
    950: '#000000',
  },
}
SCSS
$custom: #0d2f5c;
$custom-light: #5a678a;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2f5c",
  "rgb": {
    "r": 13,
    "g": 47,
    "b": 92
  },
  "hsl": {
    "h": 214.177,
    "s": 75.238,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30877,
    "c": 0.08951,
    "h": 256.9
  },
  "luminance": 0.02891
}

Semantic roles & 50–950 ramp

primary
#0D2F5C
secondary
#966A2F
accent
#A136F2
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060C
muted
#797A7D

Preview Lab

Preview with #0D2F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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