#0C3247#0C3247

#0C3247 is a dark, muted cyan. Relative luminance 0.028; OKLCH L 30.2% C 0.056 H 237.4°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#0C3247
RGBrgb(12, 50, 71)
HSLhsl(201, 71%, 16%)
HSVhsv(201, 83%, 28%)
CMYKcmyk(83.1%, 29.6%, 0%, 72.2%)
CIE-LABlab(19.28, -4.80, -16.83)
CIE-LCHlch(19.28, 17.50, 254.07°)
OKLaboklab(30.19% -0.0303 -0.0475)
OKLCHoklch(30.19% 0.056 237.4)
XYZxyz(2.4291, 2.8140, 6.3752)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3247 #47210C
analogous
#0C473F #0C3247 #0C1547
triadic
#0C3247 #470C32 #32470C
tetradic
#0C3247 #3F0C47 #47210C #15470C
square
#0C3247 #3F0C47 #47210C #15470C
split-complementary
#0C3247 #470C15 #473F0C
monochromatic
#04121A #04121A #0C3247 #15577B #1E7CB0

Accessibility & contrast

On white

13.44
#0C3247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#0C3247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3247
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3247#FFFFFF#000000##FFFFFF
##0C32471.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283248
Deuteranopia (green-blind)
#202C47
Tritanopia (blue-blind)
#003739
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0c3247;
/* rgb */ color: rgb(12, 50, 71);
/* oklch */ color: oklch(30.2% 0.056 237.4);
Tailwind
colors: {
  custom: {
    50: '#55697a',
    500: '#0c3247',
    950: '#000000',
  },
}
SCSS
$custom: #0c3247;
$custom-light: #55697a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3247",
  "rgb": {
    "r": 12,
    "g": 50,
    "b": 71
  },
  "hsl": {
    "h": 201.356,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.3019,
    "c": 0.05635,
    "h": 237.4
  },
  "luminance": 0.02814
}

Semantic roles & 50–950 ramp

primary
#0C3247
secondary
#834B2C
accent
#7A3AEE
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030609
muted
#787A7B

Preview Lab

Preview with #0C3247

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

Preview Lab → · Contrast checker → · Palette generator →

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