#0C2A3B#0C2A3B

#0C2A3B is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.2% C 0.047 H 237.1°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#0C2A3B
RGBrgb(12, 42, 59)
HSLhsl(202, 66%, 14%)
HSVhsv(202, 80%, 23%)
CMYKcmyk(79.7%, 28.8%, 0%, 76.9%)
CIE-LABlab(15.75, -4.34, -14.10)
CIE-LCHlch(15.75, 14.75, 252.90°)
OKLaboklab(27.17% -0.0257 -0.0397)
OKLCHoklch(27.17% 0.047 237.1)
XYZxyz(1.7687, 2.0497, 4.4392)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2A3B #3B1D0C
analogous
#0C3B35 #0C2A3B #0C133B
triadic
#0C2A3B #3B0C2A #2A3B0C
tetradic
#0C2A3B #350C3B #3B1D0C #133B0C
square
#0C2A3B #350C3B #3B1D0C #133B0C
split-complementary
#0C2A3B #3B0C13 #3B350C
monochromatic
#051219 #051219 #0C2A3B #164E6E #2172A1

Accessibility & contrast

On white

14.89
#0C2A3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#0C2A3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2A3B
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2A3B#FFFFFF#000000##FFFFFF
##0C2A3B1.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222A3C
Deuteranopia (green-blind)
#1C253B
Tritanopia (blue-blind)
#002E30
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0c2a3b;
/* rgb */ color: rgb(12, 42, 59);
/* oklch */ color: oklch(27.2% 0.047 237.1);
Tailwind
colors: {
  custom: {
    50: '#526371',
    500: '#0c2a3b',
    950: '#000000',
  },
}
SCSS
$custom: #0c2a3b;
$custom-light: #526371;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2a3b",
  "rgb": {
    "r": 12,
    "g": 42,
    "b": 59
  },
  "hsl": {
    "h": 201.702,
    "s": 66.197,
    "l": 13.922
  },
  "oklch": {
    "l": 0.27168,
    "c": 0.04726,
    "h": 237.1
  },
  "luminance": 0.0205
}

Semantic roles & 50–950 ramp

primary
#0C2A3B
secondary
#77472C
accent
#7C3FE9
background
#F4F5F6
surface
#E7EAEC
border
#C3C6C7
text
#020507
muted
#78797A

Preview Lab

Preview with #0C2A3B

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

Preview Lab → · Contrast checker → · Palette generator →

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