#0C2F3B#0C2F3B

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

Color values

HEX#0C2F3B
RGBrgb(12, 47, 59)
HSLhsl(195, 66%, 14%)
HSVhsv(195, 80%, 23%)
CMYKcmyk(79.7%, 20.3%, 0%, 76.9%)
CIE-LABlab(17.58, -7.71, -11.26)
CIE-LCHlch(17.58, 13.64, 235.59°)
OKLaboklab(28.63% -0.0319 -0.0315)
OKLCHoklch(28.63% 0.045 224.6)
XYZxyz(1.9572, 2.4267, 4.5021)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2F3B #3B180C
analogous
#0C3B30 #0C2F3B #0C183B
triadic
#0C2F3B #3B0C2F #2F3B0C
tetradic
#0C2F3B #300C3B #3B180C #183B0C
square
#0C2F3B #300C3B #3B180C #183B0C
split-complementary
#0C2F3B #3B0C18 #3B300C
monochromatic
#051419 #051419 #0C2F3B #16586E #2180A1

Accessibility & contrast

On white

14.14
#0C2F3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2F3B
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2F3B#FFFFFF#000000##FFFFFF
##0C2F3B1.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282E3C
Deuteranopia (green-blind)
#22293B
Tritanopia (blue-blind)
#003333
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0c2f3b;
/* rgb */ color: rgb(12, 47, 59);
/* oklch */ color: oklch(28.6% 0.045 224.6);
Tailwind
colors: {
  custom: {
    50: '#526771',
    500: '#0c2f3b',
    950: '#000000',
  },
}
SCSS
$custom: #0c2f3b;
$custom-light: #526771;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2f3b",
  "rgb": {
    "r": 12,
    "g": 47,
    "b": 59
  },
  "hsl": {
    "h": 195.319,
    "s": 66.197,
    "l": 13.922
  },
  "oklch": {
    "l": 0.28634,
    "c": 0.04483,
    "h": 224.6
  },
  "luminance": 0.02427
}

Semantic roles & 50–950 ramp

primary
#0C2F3B
secondary
#773F2C
accent
#6A3FE9
background
#F4F6F6
surface
#E7EBEC
border
#C3C6C7
text
#020607
muted
#787A7A

Preview Lab

Preview with #0C2F3B

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

Preview Lab → · Contrast checker → · Palette generator →

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