#0C2C3F#0C2C3F

#0C2C3F is a dark, muted cyan. Relative luminance 0.022; OKLCH L 28.0% C 0.051 H 238.6°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#0C2C3F
RGBrgb(12, 44, 63)
HSLhsl(202, 68%, 15%)
HSVhsv(202, 81%, 25%)
CMYKcmyk(81%, 30.2%, 0%, 75.3%)
CIE-LABlab(16.69, -4.05, -15.40)
CIE-LCHlch(16.69, 15.93, 255.28°)
OKLaboklab(27.99% -0.0265 -0.0434)
OKLCHoklch(27.99% 0.051 238.6)
XYZxyz(1.9492, 2.2382, 5.0310)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2C3F #3F1F0C
analogous
#0C3F39 #0C2C3F #0C133F
triadic
#0C2C3F #3F0C2C #2C3F0C
tetradic
#0C2C3F #390C3F #3F1F0C #133F0C
square
#0C2C3F #390C3F #3F1F0C #133F0C
split-complementary
#0C2C3F #3F0C13 #3F390C
monochromatic
#05121A #05121A #0C2C3F #165072 #2074A6

Accessibility & contrast

On white

14.51
#0C2C3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2C3F
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2C3F#FFFFFF#000000##FFFFFF
##0C2C3F1.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232C40
Deuteranopia (green-blind)
#1C273F
Tritanopia (blue-blind)
#003133
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0c2c3f;
/* rgb */ color: rgb(12, 44, 63);
/* oklch */ color: oklch(28.0% 0.051 238.6);
Tailwind
colors: {
  custom: {
    50: '#536574',
    500: '#0c2c3f',
    950: '#000000',
  },
}
SCSS
$custom: #0c2c3f;
$custom-light: #536574;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2c3f",
  "rgb": {
    "r": 12,
    "g": 44,
    "b": 63
  },
  "hsl": {
    "h": 202.353,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.27989,
    "c": 0.05087,
    "h": 238.6
  },
  "luminance": 0.02238
}

Semantic roles & 50–950 ramp

primary
#0C2C3F
secondary
#7B492C
accent
#7E3DEB
background
#F4F6F7
surface
#E7EBED
border
#C3C6C8
text
#030508
muted
#787A7B

Preview Lab

Preview with #0C2C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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