#0C3142#0C3142

#0C3142 is a dark, muted cyan. Relative luminance 0.027; OKLCH L 29.6% C 0.051 H 232.3°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#0C3142
RGBrgb(12, 49, 66)
HSLhsl(199, 69%, 15%)
HSVhsv(199, 82%, 26%)
CMYKcmyk(81.8%, 25.8%, 0%, 74.1%)
CIE-LABlab(18.66, -6.20, -14.40)
CIE-LCHlch(18.66, 15.68, 246.69°)
OKLaboklab(29.61% -0.0312 -0.0405)
OKLCHoklch(29.61% 0.051 232.3)
XYZxyz(2.2329, 2.6679, 5.5505)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3142 #421D0C
analogous
#0C4238 #0C3142 #0C1642
triadic
#0C3142 #420C31 #31420C
tetradic
#0C3142 #380C42 #421D0C #16420C
square
#0C3142 #380C42 #421D0C #16420C
split-complementary
#0C3142 #420C16 #42380C
monochromatic
#05131A #05131A #0C3142 #155776 #1F7EAA

Accessibility & contrast

On white

13.69
#0C3142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#0C3142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3142
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3142#FFFFFF#000000##FFFFFF
##0C31421.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293043
Deuteranopia (green-blind)
#212B42
Tritanopia (blue-blind)
#003637
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0c3142;
/* rgb */ color: rgb(12, 49, 66);
/* oklch */ color: oklch(29.6% 0.051 232.3);
Tailwind
colors: {
  custom: {
    50: '#546976',
    500: '#0c3142',
    950: '#000000',
  },
}
SCSS
$custom: #0c3142;
$custom-light: #546976;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3142",
  "rgb": {
    "r": 12,
    "g": 49,
    "b": 66
  },
  "hsl": {
    "h": 198.889,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.29609,
    "c": 0.05113,
    "h": 232.3
  },
  "luminance": 0.02668
}

Semantic roles & 50–950 ramp

primary
#0C3142
secondary
#7E462C
accent
#733CEC
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030608
muted
#787A7B

Preview Lab

Preview with #0C3142

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

Preview Lab → · Contrast checker → · Palette generator →

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