#0C2D3A#0C2D3A

#0C2D3A is a dark, muted cyan. Relative luminance 0.023; OKLCH L 28.0% C 0.044 H 227.8°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#0C2D3A
RGBrgb(12, 45, 58)
HSLhsl(197, 66%, 14%)
HSVhsv(197, 79%, 23%)
CMYKcmyk(79.3%, 22.4%, 0%, 77.3%)
CIE-LABlab(16.80, -6.79, -11.78)
CIE-LCHlch(16.80, 13.59, 240.04°)
OKLaboklab(27.99% -0.0299 -0.033)
OKLCHoklch(27.99% 0.045 227.8)
XYZxyz(1.8534, 2.2602, 4.3408)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2D3A #3A190C
analogous
#0C3A30 #0C2D3A #0C163A
triadic
#0C2D3A #3A0C2D #2D3A0C
tetradic
#0C2D3A #300C3A #3A190C #163A0C
square
#0C2D3A #300C3A #3A190C #163A0C
split-complementary
#0C2D3A #3A0C16 #3A300C
monochromatic
#051419 #051419 #0C2D3A #16546D #217C9F

Accessibility & contrast

On white

14.46
#0C2D3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2D3A
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2D3A#FFFFFF#000000##FFFFFF
##0C2D3A1.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262C3B
Deuteranopia (green-blind)
#20273A
Tritanopia (blue-blind)
#003131
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0c2d3a;
/* rgb */ color: rgb(12, 45, 58);
/* oklch */ color: oklch(28.0% 0.044 227.8);
Tailwind
colors: {
  custom: {
    50: '#526570',
    500: '#0c2d3a',
    950: '#000000',
  },
}
SCSS
$custom: #0c2d3a;
$custom-light: #526570;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2d3a",
  "rgb": {
    "r": 12,
    "g": 45,
    "b": 58
  },
  "hsl": {
    "h": 196.957,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.27989,
    "c": 0.0445,
    "h": 227.8
  },
  "luminance": 0.0226
}

Semantic roles & 50–950 ramp

primary
#0C2D3A
secondary
#76412C
accent
#6F3FE9
background
#F4F6F6
surface
#E7EBEC
border
#C3C6C7
text
#020507
muted
#787A7A

Preview Lab

Preview with #0C2D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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