#0D2A4F#0D2A4F

#0D2A4F is a dark, moderate cyan. Relative luminance 0.023; OKLCH L 28.6% C 0.076 H 256.1°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#0D2A4F
RGBrgb(13, 42, 79)
HSLhsl(214, 72%, 18%)
HSVhsv(214, 84%, 31%)
CMYKcmyk(83.5%, 46.8%, 0%, 69%)
CIE-LABlab(17.02, 4.47, -25.83)
CIE-LCHlch(17.02, 26.22, 279.82°)
OKLaboklab(28.58% -0.0184 -0.0739)
OKLCHoklch(28.58% 0.076 256.1)
XYZxyz(2.4047, 2.3057, 7.7139)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2A4F #4F320D
analogous
#0D4B4F #0D2A4F #110D4F
triadic
#0D2A4F #4F0D2A #2A4F0D
tetradic
#0D2A4F #4F0D4B #4F320D #0D4F11
square
#0D2A4F #4F0D4B #4F320D #0D4F11
split-complementary
#0D2A4F #4F110D #4B4F0D
monochromatic
#040E1A #040E1A #0D2A4F #164684 #1E62B8

Accessibility & contrast

On white

14.37
#0D2A4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0D2A4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2A4F
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2A4F#FFFFFF#000000##FFFFFF
##0D2A4F1.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182D50
Deuteranopia (green-blind)
#0C274E
Tritanopia (blue-blind)
#003338
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0d2a4f;
/* rgb */ color: rgb(13, 42, 79);
/* oklch */ color: oklch(28.6% 0.076 256.1);
Tailwind
colors: {
  custom: {
    50: '#576380',
    500: '#0d2a4f',
    950: '#000000',
  },
}
SCSS
$custom: #0d2a4f;
$custom-light: #576380;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2a4f",
  "rgb": {
    "r": 13,
    "g": 42,
    "b": 79
  },
  "hsl": {
    "h": 213.636,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28578,
    "c": 0.07617,
    "h": 256.1
  },
  "luminance": 0.02306
}

Semantic roles & 50–950 ramp

primary
#0D2A4F
secondary
#8A612E
accent
#9F39EE
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #0D2A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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