#0C2F3A#0C2F3A

#0C2F3A is a dark, muted cyan. Relative luminance 0.024; OKLCH L 28.6% C 0.044 H 222.5°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#0C2F3A
RGBrgb(12, 47, 58)
HSLhsl(194, 66%, 14%)
HSVhsv(194, 79%, 23%)
CMYKcmyk(79.3%, 19%, 0%, 77.3%)
CIE-LABlab(17.54, -8.11, -10.64)
CIE-LCHlch(17.54, 13.38, 232.68°)
OKLaboklab(28.58% -0.0324 -0.0297)
OKLCHoklch(28.58% 0.044 222.5)
XYZxyz(1.9315, 2.4165, 4.3668)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2F3A #3A170C
analogous
#0C3A2E #0C2F3A #0C183A
triadic
#0C2F3A #3A0C2F #2F3A0C
tetradic
#0C2F3A #2E0C3A #3A170C #183A0C
square
#0C2F3A #2E0C3A #3A170C #183A0C
split-complementary
#0C2F3A #3A0C18 #3A2E0C
monochromatic
#051519 #051519 #0C2F3A #16586D #21819F

Accessibility & contrast

On white

14.16
#0C2F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#0C2F3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2F3A
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2F3A#FFFFFF#000000##FFFFFF
##0C2F3A1.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292E3B
Deuteranopia (green-blind)
#22293A
Tritanopia (blue-blind)
#003233
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0c2f3a;
/* rgb */ color: rgb(12, 47, 58);
/* oklch */ color: oklch(28.6% 0.044 222.5);
Tailwind
colors: {
  custom: {
    50: '#526770',
    500: '#0c2f3a',
    950: '#000000',
  },
}
SCSS
$custom: #0c2f3a;
$custom-light: #526770;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2f3a",
  "rgb": {
    "r": 12,
    "g": 47,
    "b": 58
  },
  "hsl": {
    "h": 194.348,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.2858,
    "c": 0.04396,
    "h": 222.5
  },
  "luminance": 0.02417
}

Semantic roles & 50–950 ramp

primary
#0C2F3A
secondary
#763D2C
accent
#683FE9
background
#F4F6F6
surface
#E7EBEC
border
#C3C6C7
text
#020607
muted
#787A7A

Preview Lab

Preview with #0C2F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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