#0C2C3E#0C2C3E

#0C2C3E is a dark, muted cyan. Relative luminance 0.022; OKLCH L 27.9% C 0.050 H 237.2°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#0C2C3E
RGBrgb(12, 44, 62)
HSLhsl(202, 68%, 15%)
HSVhsv(202, 81%, 24%)
CMYKcmyk(80.6%, 29%, 0%, 75.7%)
CIE-LABlab(16.64, -4.47, -14.80)
CIE-LCHlch(16.64, 15.46, 253.20°)
OKLaboklab(27.93% -0.0269 -0.0417)
OKLCHoklch(27.93% 0.05 237.2)
XYZxyz(1.9215, 2.2271, 4.8851)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2C3E #3E1E0C
analogous
#0C3E37 #0C2C3E #0C133E
triadic
#0C2C3E #3E0C2C #2C3E0C
tetradic
#0C2C3E #370C3E #3E1E0C #133E0C
square
#0C2C3E #370C3E #3E1E0C #133E0C
split-complementary
#0C2C3E #3E0C13 #3E370C
monochromatic
#05121A #05121A #0C2C3E #165071 #2075A5

Accessibility & contrast

On white

14.53
#0C2C3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#0C2C3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2C3E
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2C3E#FFFFFF#000000##FFFFFF
##0C2C3E1.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232C3F
Deuteranopia (green-blind)
#1D273E
Tritanopia (blue-blind)
#003132
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0c2c3e;
/* rgb */ color: rgb(12, 44, 62);
/* oklch */ color: oklch(27.9% 0.050 237.2);
Tailwind
colors: {
  custom: {
    50: '#536573',
    500: '#0c2c3e',
    950: '#000000',
  },
}
SCSS
$custom: #0c2c3e;
$custom-light: #536573;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2c3e",
  "rgb": {
    "r": 12,
    "g": 44,
    "b": 62
  },
  "hsl": {
    "h": 201.6,
    "s": 67.568,
    "l": 14.51
  },
  "oklch": {
    "l": 0.27929,
    "c": 0.04959,
    "h": 237.2
  },
  "luminance": 0.02227
}

Semantic roles & 50–950 ramp

primary
#0C2C3E
secondary
#7A482C
accent
#7C3DEA
background
#F4F6F6
surface
#E7EBEC
border
#C3C6C7
text
#030508
muted
#787A7B

Preview Lab

Preview with #0C2C3E

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

Preview Lab → · Contrast checker → · Palette generator →

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