#0C2E4D#0C2E4D

#0C2E4D is a dark, moderate cyan. Relative luminance 0.026; OKLCH L 29.5% C 0.069 H 249.7°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#0C2E4D
RGBrgb(12, 46, 77)
HSLhsl(209, 73%, 17%)
HSVhsv(209, 84%, 30%)
CMYKcmyk(84.4%, 40.3%, 0%, 69.8%)
CIE-LABlab(18.22, 0.55, -22.56)
CIE-LCHlch(18.22, 22.57, 271.39°)
OKLaboklab(29.47% -0.0238 -0.0642)
OKLCHoklch(29.47% 0.069 249.7)
XYZxyz(2.4677, 2.5677, 7.3853)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2E4D #4D2B0C
analogous
#0C4D4B #0C2E4D #0C0E4D
triadic
#0C2E4D #4D0C2E #2E4D0C
tetradic
#0C2E4D #4B0C4D #4D2B0C #0E4D0C
square
#0C2E4D #4B0C4D #4D2B0C #0E4D0C
split-complementary
#0C2E4D #4D0C0E #4D4B0C
monochromatic
#04101A #04101A #0C2E4D #144E82 #1D6DB7

Accessibility & contrast

On white

13.87
#0C2E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#0C2E4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2E4D
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2E4D#FFFFFF#000000##FFFFFF
##0C2E4D1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20304E
Deuteranopia (green-blind)
#162A4C
Tritanopia (blue-blind)
#003539
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0c2e4d;
/* rgb */ color: rgb(12, 46, 77);
/* oklch */ color: oklch(29.5% 0.069 249.7);
Tailwind
colors: {
  custom: {
    50: '#56667f',
    500: '#0c2e4d',
    950: '#000000',
  },
}
SCSS
$custom: #0c2e4d;
$custom-light: #56667f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2e4d",
  "rgb": {
    "r": 12,
    "g": 46,
    "b": 77
  },
  "hsl": {
    "h": 208.615,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29467,
    "c": 0.06851,
    "h": 249.7
  },
  "luminance": 0.02568
}

Semantic roles & 50–950 ramp

primary
#0C2E4D
secondary
#89582C
accent
#9038F0
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#03050A
muted
#787A7C

Preview Lab

Preview with #0C2E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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