#0C3147#0C3147

#0C3147 is a dark, muted cyan. Relative luminance 0.027; OKLCH L 29.9% C 0.057 H 239.3°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#0C3147
RGBrgb(12, 49, 71)
HSLhsl(202, 71%, 16%)
HSVhsv(202, 83%, 28%)
CMYKcmyk(83.1%, 31%, 0%, 72.2%)
CIE-LABlab(18.93, -4.12, -17.39)
CIE-LCHlch(18.93, 17.87, 256.66°)
OKLaboklab(29.91% -0.0292 -0.0491)
OKLCHoklch(29.91% 0.057 239.3)
XYZxyz(2.3868, 2.7294, 6.3611)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3147 #47220C
analogous
#0C4740 #0C3147 #0C1447
triadic
#0C3147 #470C31 #31470C
tetradic
#0C3147 #400C47 #47220C #14470C
square
#0C3147 #400C47 #47220C #14470C
split-complementary
#0C3147 #470C14 #47400C
monochromatic
#04121A #04121A #0C3147 #15557B #1E79B0

Accessibility & contrast

On white

13.58
#0C3147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#0C3147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3147
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3147#FFFFFF#000000##FFFFFF
##0C31471.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273148
Deuteranopia (green-blind)
#1F2C47
Tritanopia (blue-blind)
#003739
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0c3147;
/* rgb */ color: rgb(12, 49, 71);
/* oklch */ color: oklch(29.9% 0.057 239.3);
Tailwind
colors: {
  custom: {
    50: '#55687a',
    500: '#0c3147',
    950: '#000000',
  },
}
SCSS
$custom: #0c3147;
$custom-light: #55687a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3147",
  "rgb": {
    "r": 12,
    "g": 49,
    "b": 71
  },
  "hsl": {
    "h": 202.373,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.29907,
    "c": 0.05714,
    "h": 239.3
  },
  "luminance": 0.0273
}

Semantic roles & 50–950 ramp

primary
#0C3147
secondary
#834C2C
accent
#7D3AEE
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030609
muted
#787A7B

Preview Lab

Preview with #0C3147

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

Preview Lab → · Contrast checker → · Palette generator →

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