#0C2C3B#0C2C3B

#0C2C3B is a dark, muted cyan. Relative luminance 0.022; OKLCH L 27.8% C 0.046 H 232.2°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#0C2C3B
RGBrgb(12, 44, 59)
HSLhsl(199, 66%, 14%)
HSVhsv(199, 80%, 23%)
CMYKcmyk(79.7%, 25.4%, 0%, 76.9%)
CIE-LABlab(16.48, -5.71, -12.96)
CIE-LCHlch(16.48, 14.16, 246.23°)
OKLaboklab(27.75% -0.0282 -0.0364)
OKLCHoklch(27.75% 0.046 232.2)
XYZxyz(1.8414, 2.1951, 4.4635)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2C3B #3B1B0C
analogous
#0C3B33 #0C2C3B #0C153B
triadic
#0C2C3B #3B0C2C #2C3B0C
tetradic
#0C2C3B #330C3B #3B1B0C #153B0C
square
#0C2C3B #330C3B #3B1B0C #153B0C
split-complementary
#0C2C3B #3B0C15 #3B330C
monochromatic
#051319 #051319 #0C2C3B #16526E #2178A1

Accessibility & contrast

On white

14.59
#0C2C3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#0C2C3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2C3B
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2C3B#FFFFFF#000000##FFFFFF
##0C2C3B1.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252B3C
Deuteranopia (green-blind)
#1E273B
Tritanopia (blue-blind)
#003031
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0c2c3b;
/* rgb */ color: rgb(12, 44, 59);
/* oklch */ color: oklch(27.8% 0.046 232.2);
Tailwind
colors: {
  custom: {
    50: '#526571',
    500: '#0c2c3b',
    950: '#000000',
  },
}
SCSS
$custom: #0c2c3b;
$custom-light: #526571;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2c3b",
  "rgb": {
    "r": 12,
    "g": 44,
    "b": 59
  },
  "hsl": {
    "h": 199.149,
    "s": 66.197,
    "l": 13.922
  },
  "oklch": {
    "l": 0.27752,
    "c": 0.04601,
    "h": 232.2
  },
  "luminance": 0.02195
}

Semantic roles & 50–950 ramp

primary
#0C2C3B
secondary
#77442C
accent
#753FE9
background
#F4F6F6
surface
#E7EBEC
border
#C3C6C7
text
#020507
muted
#787A7A

Preview Lab

Preview with #0C2C3B

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

Preview Lab → · Contrast checker → · Palette generator →

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