#0C2949#0C2949

#0C2949 is a dark, moderate cyan. Relative luminance 0.021; OKLCH L 27.8% C 0.069 H 253.4°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#0C2949
RGBrgb(12, 41, 73)
HSLhsl(211, 72%, 17%)
HSVhsv(211, 84%, 29%)
CMYKcmyk(83.6%, 43.8%, 0%, 71.4%)
CIE-LABlab(16.23, 2.41, -23.01)
CIE-LCHlch(16.23, 23.13, 275.99°)
OKLaboklab(27.82% -0.0196 -0.0657)
OKLCHoklch(27.82% 0.069 253.4)
XYZxyz(2.1467, 2.1448, 6.6029)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2949 #492C0C
analogous
#0C4849 #0C2949 #0D0C49
triadic
#0C2949 #490C29 #29490C
tetradic
#0C2949 #490C48 #492C0C #0C490D
square
#0C2949 #490C48 #492C0C #0C490D
split-complementary
#0C2949 #490D0C #48490C
monochromatic
#040F1A #040F1A #0C2949 #15477E #1D64B2

Accessibility & contrast

On white

14.70
#0C2949 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#0C2949 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2949
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2949#FFFFFF#000000##FFFFFF
##0C29491.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2B4A
Deuteranopia (green-blind)
#102648
Tritanopia (blue-blind)
#003135
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0c2949;
/* rgb */ color: rgb(12, 41, 73);
/* oklch */ color: oklch(27.8% 0.069 253.4);
Tailwind
colors: {
  custom: {
    50: '#55627c',
    500: '#0c2949',
    950: '#000000',
  },
}
SCSS
$custom: #0c2949;
$custom-light: #55627c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2949",
  "rgb": {
    "r": 12,
    "g": 41,
    "b": 73
  },
  "hsl": {
    "h": 211.475,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27824,
    "c": 0.06853,
    "h": 253.4
  },
  "luminance": 0.02145
}

Semantic roles & 50–950 ramp

primary
#0C2949
secondary
#855B2C
accent
#9839EE
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#030509
muted
#78797B

Preview Lab

Preview with #0C2949

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

Preview Lab → · Contrast checker → · Palette generator →

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