#0D2F4C#0D2F4C

#0D2F4C is a dark, moderate cyan. Relative luminance 0.026; OKLCH L 29.7% C 0.066 H 248.0°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#0D2F4C
RGBrgb(13, 47, 76)
HSLhsl(208, 71%, 17%)
HSVhsv(208, 83%, 30%)
CMYKcmyk(82.9%, 38.2%, 0%, 70.2%)
CIE-LABlab(18.54, -0.45, -21.38)
CIE-LCHlch(18.54, 21.38, 268.79°)
OKLaboklab(29.71% -0.0245 -0.0608)
OKLCHoklch(29.71% 0.066 248)
XYZxyz(2.4865, 2.6401, 7.2146)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2F4C #4C2A0D
analogous
#0D4C4A #0D2F4C #0D0F4C
triadic
#0D2F4C #4C0D2F #2F4C0D
tetradic
#0D2F4C #4A0D4C #4C2A0D #0F4C0D
square
#0D2F4C #4A0D4C #4C2A0D #0F4C0D
split-complementary
#0D2F4C #4C0D0F #4C4A0D
monochromatic
#04101A #04101A #0D2F4C #164F80 #1F70B5

Accessibility & contrast

On white

13.74
#0D2F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D2F4C
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2F4C#FFFFFF#000000##FFFFFF
##0D2F4C1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22304D
Deuteranopia (green-blind)
#192B4B
Tritanopia (blue-blind)
#00363A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0d2f4c;
/* rgb */ color: rgb(13, 47, 76);
/* oklch */ color: oklch(29.7% 0.066 248.0);
Tailwind
colors: {
  custom: {
    50: '#56677e',
    500: '#0d2f4c',
    950: '#000000',
  },
}
SCSS
$custom: #0d2f4c;
$custom-light: #56677e;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2f4c",
  "rgb": {
    "r": 13,
    "g": 47,
    "b": 76
  },
  "hsl": {
    "h": 207.619,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29706,
    "c": 0.06552,
    "h": 248
  },
  "luminance": 0.0264
}

Semantic roles & 50–950 ramp

primary
#0D2F4C
secondary
#87572E
accent
#8D3AEE
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#03060A
muted
#787A7C

Preview Lab

Preview with #0D2F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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