#0C3149#0C3149

#0C3149 is a dark, muted cyan. Relative luminance 0.028; OKLCH L 30.0% C 0.060 H 241.6°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#0C3149
RGBrgb(12, 49, 73)
HSLhsl(204, 72%, 17%)
HSVhsv(204, 84%, 29%)
CMYKcmyk(83.6%, 32.9%, 0%, 71.4%)
CIE-LABlab(19.04, -3.28, -18.57)
CIE-LCHlch(19.04, 18.86, 259.99°)
OKLaboklab(30.03% -0.0284 -0.0525)
OKLCHoklch(30.03% 0.06 241.6)
XYZxyz(2.4521, 2.7555, 6.7047)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3149 #49240C
analogous
#0C4943 #0C3149 #0C1249
triadic
#0C3149 #490C31 #31490C
tetradic
#0C3149 #430C49 #49240C #12490C
square
#0C3149 #430C49 #49240C #12490C
split-complementary
#0C3149 #490C12 #49430C
monochromatic
#04121A #04121A #0C3149 #15547E #1D78B2

Accessibility & contrast

On white

13.54
#0C3149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C3149
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3149#FFFFFF#000000##FFFFFF
##0C31491.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26314A
Deuteranopia (green-blind)
#1D2C49
Tritanopia (blue-blind)
#003739
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0c3149;
/* rgb */ color: rgb(12, 49, 73);
/* oklch */ color: oklch(30.0% 0.060 241.6);
Tailwind
colors: {
  custom: {
    50: '#55687c',
    500: '#0c3149',
    950: '#000000',
  },
}
SCSS
$custom: #0c3149;
$custom-light: #55687c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3149",
  "rgb": {
    "r": 12,
    "g": 49,
    "b": 73
  },
  "hsl": {
    "h": 203.607,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.30031,
    "c": 0.05975,
    "h": 241.6
  },
  "luminance": 0.02756
}

Semantic roles & 50–950 ramp

primary
#0C3149
secondary
#854F2C
accent
#8139EE
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#030609
muted
#787A7B

Preview Lab

Preview with #0C3149

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

Preview Lab → · Contrast checker → · Palette generator →

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