#0C2F3C#0C2F3C

#0C2F3C is a dark, muted cyan. Relative luminance 0.024; OKLCH L 28.7% C 0.046 H 226.6°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#0C2F3C
RGBrgb(12, 47, 60)
HSLhsl(196, 67%, 14%)
HSVhsv(196, 80%, 24%)
CMYKcmyk(80%, 21.7%, 0%, 76.5%)
CIE-LABlab(17.63, -7.31, -11.87)
CIE-LCHlch(17.63, 13.94, 238.37°)
OKLaboklab(28.69% -0.0315 -0.0332)
OKLCHoklch(28.69% 0.046 226.6)
XYZxyz(1.9834, 2.4372, 4.6400)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2F3C #3C190C
analogous
#0C3C31 #0C2F3C #0C173C
triadic
#0C2F3C #3C0C2F #2F3C0C
tetradic
#0C2F3C #310C3C #3C190C #173C0C
square
#0C2F3C #310C3C #3C190C #173C0C
split-complementary
#0C2F3C #3C0C17 #3C310C
monochromatic
#05141A #05141A #0C2F3C #16576F #207FA2

Accessibility & contrast

On white

14.12
#0C2F3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#0C2F3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2F3C
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2F3C#FFFFFF#000000##FFFFFF
##0C2F3C1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282E3D
Deuteranopia (green-blind)
#21293C
Tritanopia (blue-blind)
#003333
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0c2f3c;
/* rgb */ color: rgb(12, 47, 60);
/* oklch */ color: oklch(28.7% 0.046 226.6);
Tailwind
colors: {
  custom: {
    50: '#526771',
    500: '#0c2f3c',
    950: '#000000',
  },
}
SCSS
$custom: #0c2f3c;
$custom-light: #526771;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2f3c",
  "rgb": {
    "r": 12,
    "g": 47,
    "b": 60
  },
  "hsl": {
    "h": 196.25,
    "s": 66.667,
    "l": 14.118
  },
  "oklch": {
    "l": 0.28689,
    "c": 0.04577,
    "h": 226.6
  },
  "luminance": 0.02437
}

Semantic roles & 50–950 ramp

primary
#0C2F3C
secondary
#78402C
accent
#6D3EEA
background
#F4F6F6
surface
#E7EBEC
border
#C3C6C7
text
#030607
muted
#787A7A

Preview Lab

Preview with #0C2F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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