#0D2A4E#0D2A4E

#0D2A4E is a dark, moderate cyan. Relative luminance 0.023; OKLCH L 28.5% C 0.075 H 255.6°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#0D2A4E
RGBrgb(13, 42, 78)
HSLhsl(213, 71%, 18%)
HSVhsv(213, 83%, 31%)
CMYKcmyk(83.3%, 46.2%, 0%, 69.4%)
CIE-LABlab(16.95, 4.03, -25.27)
CIE-LCHlch(16.95, 25.58, 279.07°)
OKLaboklab(28.5% -0.0186 -0.0722)
OKLCHoklch(28.5% 0.075 255.6)
XYZxyz(2.3686, 2.2913, 7.5237)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2A4E #4E310D
analogous
#0D4A4E #0D2A4E #100D4E
triadic
#0D2A4E #4E0D2A #2A4E0D
tetradic
#0D2A4E #4E0D4A #4E310D #0D4E10
square
#0D2A4E #4E0D4A #4E310D #0D4E10
split-complementary
#0D2A4E #4E100D #4A4E0D
monochromatic
#040E1A #040E1A #0D2A4E #164682 #1E62B7

Accessibility & contrast

On white

14.40
#0D2A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D2A4E
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2A4E#FFFFFF#000000##FFFFFF
##0D2A4E1.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182D4F
Deuteranopia (green-blind)
#0D274D
Tritanopia (blue-blind)
#003238
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0d2a4e;
/* rgb */ color: rgb(13, 42, 78);
/* oklch */ color: oklch(28.5% 0.075 255.6);
Tailwind
colors: {
  custom: {
    50: '#576380',
    500: '#0d2a4e',
    950: '#000000',
  },
}
SCSS
$custom: #0d2a4e;
$custom-light: #576380;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2a4e",
  "rgb": {
    "r": 13,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 213.231,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28502,
    "c": 0.07461,
    "h": 255.6
  },
  "luminance": 0.02292
}

Semantic roles & 50–950 ramp

primary
#0D2A4E
secondary
#89602E
accent
#9E3AEE
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#03050A
muted
#78797C

Preview Lab

Preview with #0D2A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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