#0C3146#0C3146

#0C3146 is a dark, muted cyan. Relative luminance 0.027; OKLCH L 29.8% C 0.056 H 238.0°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#0C3146
RGBrgb(12, 49, 70)
HSLhsl(202, 71%, 16%)
HSVhsv(202, 83%, 27%)
CMYKcmyk(82.9%, 30%, 0%, 72.5%)
CIE-LABlab(18.87, -4.54, -16.79)
CIE-LCHlch(18.87, 17.40, 254.86°)
OKLaboklab(29.85% -0.0296 -0.0474)
OKLCHoklch(29.85% 0.056 238)
XYZxyz(2.3550, 2.7167, 6.1934)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3146 #46210C
analogous
#0C463E #0C3146 #0C1446
triadic
#0C3146 #460C31 #31460C
tetradic
#0C3146 #3E0C46 #46210C #14460C
square
#0C3146 #3E0C46 #46210C #14460C
split-complementary
#0C3146 #460C14 #463E0C
monochromatic
#04121A #04121A #0C3146 #15567A #1E7AAE

Accessibility & contrast

On white

13.61
#0C3146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#0C3146 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3146
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3146#FFFFFF#000000##FFFFFF
##0C31461.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273147
Deuteranopia (green-blind)
#1F2B46
Tritanopia (blue-blind)
#003638
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0c3146;
/* rgb */ color: rgb(12, 49, 70);
/* oklch */ color: oklch(29.8% 0.056 238.0);
Tailwind
colors: {
  custom: {
    50: '#556879',
    500: '#0c3146',
    950: '#000000',
  },
}
SCSS
$custom: #0c3146;
$custom-light: #556879;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3146",
  "rgb": {
    "r": 12,
    "g": 49,
    "b": 70
  },
  "hsl": {
    "h": 201.724,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.29846,
    "c": 0.05587,
    "h": 238
  },
  "luminance": 0.02717
}

Semantic roles & 50–950 ramp

primary
#0C3146
secondary
#824B2C
accent
#7B3AED
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030609
muted
#787A7B

Preview Lab

Preview with #0C3146

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

Preview Lab → · Contrast checker → · Palette generator →

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