#0D2F4D#0D2F4D

#0D2F4D is a dark, moderate cyan. Relative luminance 0.027; OKLCH L 29.8% C 0.067 H 248.8°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#0D2F4D
RGBrgb(13, 47, 77)
HSLhsl(208, 71%, 18%)
HSVhsv(208, 83%, 30%)
CMYKcmyk(83.1%, 39%, 0%, 69.8%)
CIE-LABlab(18.60, -0.02, -21.96)
CIE-LCHlch(18.60, 21.96, 269.94°)
OKLaboklab(29.77% -0.0242 -0.0624)
OKLCHoklch(29.77% 0.067 248.8)
XYZxyz(2.5215, 2.6541, 7.3991)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2F4D #4D2B0D
analogous
#0D4D4B #0D2F4D #0D0F4D
triadic
#0D2F4D #4D0D2F #2F4D0D
tetradic
#0D2F4D #4B0D4D #4D2B0D #0F4D0D
square
#0D2F4D #4B0D4D #4D2B0D #0F4D0D
split-complementary
#0D2F4D #4D0D0F #4D4B0D
monochromatic
#04101A #04101A #0D2F4D #164F81 #1F6FB6

Accessibility & contrast

On white

13.72
#0D2F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#0D2F4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2F4D
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2F4D#FFFFFF#000000##FFFFFF
##0D2F4D1.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21314E
Deuteranopia (green-blind)
#182B4C
Tritanopia (blue-blind)
#00363A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0d2f4d;
/* rgb */ color: rgb(13, 47, 77);
/* oklch */ color: oklch(29.8% 0.067 248.8);
Tailwind
colors: {
  custom: {
    50: '#56677f',
    500: '#0d2f4d',
    950: '#000000',
  },
}
SCSS
$custom: #0d2f4d;
$custom-light: #56677f;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2f4d",
  "rgb": {
    "r": 13,
    "g": 47,
    "b": 77
  },
  "hsl": {
    "h": 208.125,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.29774,
    "c": 0.06697,
    "h": 248.8
  },
  "luminance": 0.02654
}

Semantic roles & 50–950 ramp

primary
#0D2F4D
secondary
#88582E
accent
#8E3AEE
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#03060A
muted
#787A7C

Preview Lab

Preview with #0D2F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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