#0C2E3D#0C2E3D

#0C2E3D is a dark, muted cyan. Relative luminance 0.024; OKLCH L 28.5% C 0.047 H 230.9°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#0C2E3D
RGBrgb(12, 46, 61)
HSLhsl(198, 67%, 14%)
HSVhsv(198, 80%, 24%)
CMYKcmyk(80.3%, 24.6%, 0%, 76.1%)
CIE-LABlab(17.32, -6.24, -13.05)
CIE-LCHlch(17.32, 14.47, 244.45°)
OKLaboklab(28.45% -0.0298 -0.0366)
OKLCHoklch(28.45% 0.047 230.9)
XYZxyz(1.9706, 2.3689, 4.7674)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2E3D #3D1B0C
analogous
#0C3D34 #0C2E3D #0C163D
triadic
#0C2E3D #3D0C2E #2E3D0C
tetradic
#0C2E3D #340C3D #3D1B0C #163D0C
square
#0C2E3D #340C3D #3D1B0C #163D0C
split-complementary
#0C2E3D #3D0C16 #3D340C
monochromatic
#05131A #05131A #0C2E3D #165570 #207BA3

Accessibility & contrast

On white

14.25
#0C2E3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#0C2E3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2E3D
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2E3D#FFFFFF#000000##FFFFFF
##0C2E3D1.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262D3E
Deuteranopia (green-blind)
#20283D
Tritanopia (blue-blind)
#003233
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0c2e3d;
/* rgb */ color: rgb(12, 46, 61);
/* oklch */ color: oklch(28.5% 0.047 230.9);
Tailwind
colors: {
  custom: {
    50: '#536672',
    500: '#0c2e3d',
    950: '#000000',
  },
}
SCSS
$custom: #0c2e3d;
$custom-light: #536672;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2e3d",
  "rgb": {
    "r": 12,
    "g": 46,
    "b": 61
  },
  "hsl": {
    "h": 198.367,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.28451,
    "c": 0.0472,
    "h": 230.9
  },
  "luminance": 0.02369
}

Semantic roles & 50–950 ramp

primary
#0C2E3D
secondary
#79432C
accent
#733EEA
background
#F4F6F6
surface
#E7EBEC
border
#C3C6C7
text
#030608
muted
#787A7B

Preview Lab

Preview with #0C2E3D

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

Preview Lab → · Contrast checker → · Palette generator →

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