#0D2F4F#0D2F4F

#0D2F4F is a dark, moderate cyan. Relative luminance 0.027; OKLCH L 29.9% C 0.070 H 250.3°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#0D2F4F
RGBrgb(13, 47, 79)
HSLhsl(209, 72%, 18%)
HSVhsv(209, 84%, 31%)
CMYKcmyk(83.5%, 40.5%, 0%, 69%)
CIE-LABlab(18.73, 0.84, -23.11)
CIE-LCHlch(18.73, 23.12, 272.09°)
OKLaboklab(29.91% -0.0236 -0.0658)
OKLCHoklch(29.91% 0.07 250.3)
XYZxyz(2.5932, 2.6828, 7.7768)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2F4F #4F2D0D
analogous
#0D4F4E #0D2F4F #0D0E4F
triadic
#0D2F4F #4F0D2F #2F4F0D
tetradic
#0D2F4F #4E0D4F #4F2D0D #0E4F0D
square
#0D2F4F #4E0D4F #4F2D0D #0E4F0D
split-complementary
#0D2F4F #4F0D0E #4F4E0D
monochromatic
#04101A #04101A #0D2F4F #164E84 #1E6EB8

Accessibility & contrast

On white

13.67
#0D2F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#0D2F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2F4F
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2F4F#FFFFFF#000000##FFFFFF
##0D2F4F1.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203150
Deuteranopia (green-blind)
#162B4E
Tritanopia (blue-blind)
#00373B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0d2f4f;
/* rgb */ color: rgb(13, 47, 79);
/* oklch */ color: oklch(29.9% 0.070 250.3);
Tailwind
colors: {
  custom: {
    50: '#576780',
    500: '#0d2f4f',
    950: '#000000',
  },
}
SCSS
$custom: #0d2f4f;
$custom-light: #576780;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2f4f",
  "rgb": {
    "r": 13,
    "g": 47,
    "b": 79
  },
  "hsl": {
    "h": 209.091,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29912,
    "c": 0.06991,
    "h": 250.3
  },
  "luminance": 0.02683
}

Semantic roles & 50–950 ramp

primary
#0D2F4F
secondary
#8A5B2E
accent
#9139EE
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #0D2F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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