#0C3040#0C3040

#0C3040 is a dark, muted cyan. Relative luminance 0.026; OKLCH L 29.2% C 0.049 H 231.3°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#0C3040
RGBrgb(12, 48, 64)
HSLhsl(198, 68%, 15%)
HSVhsv(198, 81%, 25%)
CMYKcmyk(81.2%, 25%, 0%, 74.9%)
CIE-LABlab(18.20, -6.35, -13.75)
CIE-LCHlch(18.20, 15.15, 245.20°)
OKLaboklab(29.21% -0.0309 -0.0386)
OKLCHoklch(29.21% 0.049 231.3)
XYZxyz(2.1336, 2.5620, 5.2316)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3040 #401C0C
analogous
#0C4036 #0C3040 #0C1640
triadic
#0C3040 #400C30 #30400C
tetradic
#0C3040 #360C40 #401C0C #16400C
square
#0C3040 #360C40 #401C0C #16400C
split-complementary
#0C3040 #400C16 #40360C
monochromatic
#05131A #05131A #0C3040 #165774 #1F7DA7

Accessibility & contrast

On white

13.89
#0C3040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#0C3040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3040
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3040#FFFFFF#000000##FFFFFF
##0C30401.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282F41
Deuteranopia (green-blind)
#212A40
Tritanopia (blue-blind)
#003435
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0c3040;
/* rgb */ color: rgb(12, 48, 64);
/* oklch */ color: oklch(29.2% 0.049 231.3);
Tailwind
colors: {
  custom: {
    50: '#536874',
    500: '#0c3040',
    950: '#000000',
  },
}
SCSS
$custom: #0c3040;
$custom-light: #536874;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3040",
  "rgb": {
    "r": 12,
    "g": 48,
    "b": 64
  },
  "hsl": {
    "h": 198.462,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.29205,
    "c": 0.04946,
    "h": 231.3
  },
  "luminance": 0.02562
}

Semantic roles & 50–950 ramp

primary
#0C3040
secondary
#7C442C
accent
#723DEB
background
#F5F6F7
surface
#E8EBED
border
#C4C6C8
text
#030608
muted
#787A7B

Preview Lab

Preview with #0C3040

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

Preview Lab → · Contrast checker → · Palette generator →

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