#0C3141#0C3141

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

Color values

HEX#0C3141
RGBrgb(12, 49, 65)
HSLhsl(198, 69%, 15%)
HSVhsv(198, 82%, 25%)
CMYKcmyk(81.5%, 24.6%, 0%, 74.5%)
CIE-LABlab(18.61, -6.61, -13.79)
CIE-LCHlch(18.61, 15.29, 244.39°)
OKLaboklab(29.55% -0.0317 -0.0387)
OKLCHoklch(29.55% 0.05 230.7)
XYZxyz(2.2037, 2.6562, 5.3966)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3141 #411C0C
analogous
#0C4136 #0C3141 #0C1741
triadic
#0C3141 #410C31 #31410C
tetradic
#0C3141 #360C41 #411C0C #17410C
square
#0C3141 #360C41 #411C0C #17410C
split-complementary
#0C3141 #410C17 #41360C
monochromatic
#05131A #05131A #0C3141 #165875 #1F7FA8

Accessibility & contrast

On white

13.71
#0C3141 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C3141
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3141#FFFFFF#000000##FFFFFF
##0C31411.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293042
Deuteranopia (green-blind)
#222B41
Tritanopia (blue-blind)
#003536
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0c3141;
/* rgb */ color: rgb(12, 49, 65);
/* oklch */ color: oklch(29.6% 0.050 230.7);
Tailwind
colors: {
  custom: {
    50: '#546975',
    500: '#0c3141',
    950: '#000000',
  },
}
SCSS
$custom: #0c3141;
$custom-light: #546975;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3141",
  "rgb": {
    "r": 12,
    "g": 49,
    "b": 65
  },
  "hsl": {
    "h": 198.113,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.29552,
    "c": 0.05004,
    "h": 230.7
  },
  "luminance": 0.02656
}

Semantic roles & 50–950 ramp

primary
#0C3141
secondary
#7D442C
accent
#713CEC
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030608
muted
#787A7B

Preview Lab

Preview with #0C3141

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

Preview Lab → · Contrast checker → · Palette generator →

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