#0C2A49#0C2A49

#0C2A49 is a dark, moderate cyan. Relative luminance 0.022; OKLCH L 28.1% C 0.067 H 252.1°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#0C2A49
RGBrgb(12, 42, 73)
HSLhsl(210, 72%, 17%)
HSVhsv(210, 84%, 29%)
CMYKcmyk(83.6%, 42.5%, 0%, 71.4%)
CIE-LABlab(16.58, 1.68, -22.46)
CIE-LCHlch(16.58, 22.52, 274.28°)
OKLaboklab(28.1% -0.0207 -0.064)
OKLCHoklch(28.1% 0.067 252.1)
XYZxyz(2.1817, 2.2149, 6.6146)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2A49 #492B0C
analogous
#0C4949 #0C2A49 #0D0C49
triadic
#0C2A49 #490C2A #2A490C
tetradic
#0C2A49 #490C49 #492B0C #0C490D
square
#0C2A49 #490C49 #492B0C #0C490D
split-complementary
#0C2A49 #490D0C #49490C
monochromatic
#040F1A #040F1A #0C2A49 #15487E #1D66B2

Accessibility & contrast

On white

14.55
#0C2A49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#0C2A49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2A49
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2A49#FFFFFF#000000##FFFFFF
##0C2A491.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2C4A
Deuteranopia (green-blind)
#122648
Tritanopia (blue-blind)
#003136
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0c2a49;
/* rgb */ color: rgb(12, 42, 73);
/* oklch */ color: oklch(28.1% 0.067 252.1);
Tailwind
colors: {
  custom: {
    50: '#55637c',
    500: '#0c2a49',
    950: '#000000',
  },
}
SCSS
$custom: #0c2a49;
$custom-light: #55637c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2a49",
  "rgb": {
    "r": 12,
    "g": 42,
    "b": 73
  },
  "hsl": {
    "h": 210.492,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.28095,
    "c": 0.06728,
    "h": 252.1
  },
  "luminance": 0.02215
}

Semantic roles & 50–950 ramp

primary
#0C2A49
secondary
#85592C
accent
#9539EE
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#030509
muted
#78797B

Preview Lab

Preview with #0C2A49

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

Preview Lab → · Contrast checker → · Palette generator →

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