#0C2D3C#0C2D3C

#0C2D3C is a dark, muted cyan. Relative luminance 0.023; OKLCH L 28.1% C 0.047 H 231.6°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#0C2D3C
RGBrgb(12, 45, 60)
HSLhsl(199, 67%, 14%)
HSVhsv(199, 80%, 24%)
CMYKcmyk(80%, 25%, 0%, 76.5%)
CIE-LABlab(16.90, -5.98, -13.01)
CIE-LCHlch(16.90, 14.31, 245.32°)
OKLaboklab(28.1% -0.029 -0.0365)
OKLCHoklch(28.1% 0.047 231.6)
XYZxyz(1.9053, 2.2810, 4.6139)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2D3C #3C1B0C
analogous
#0C3C33 #0C2D3C #0C153C
triadic
#0C2D3C #3C0C2D #2D3C0C
tetradic
#0C2D3C #330C3C #3C1B0C #153C0C
square
#0C2D3C #330C3C #3C1B0C #153C0C
split-complementary
#0C2D3C #3C0C15 #3C330C
monochromatic
#05131A #05131A #0C2D3C #16536F #207AA2

Accessibility & contrast

On white

14.42
#0C2D3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0C2D3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2D3C
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2D3C#FFFFFF#000000##FFFFFF
##0C2D3C1.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252C3D
Deuteranopia (green-blind)
#1F283C
Tritanopia (blue-blind)
#003132
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0c2d3c;
/* rgb */ color: rgb(12, 45, 60);
/* oklch */ color: oklch(28.1% 0.047 231.6);
Tailwind
colors: {
  custom: {
    50: '#526571',
    500: '#0c2d3c',
    950: '#000000',
  },
}
SCSS
$custom: #0c2d3c;
$custom-light: #526571;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2d3c",
  "rgb": {
    "r": 12,
    "g": 45,
    "b": 60
  },
  "hsl": {
    "h": 198.75,
    "s": 66.667,
    "l": 14.118
  },
  "oklch": {
    "l": 0.28102,
    "c": 0.04661,
    "h": 231.6
  },
  "luminance": 0.02281
}

Semantic roles & 50–950 ramp

primary
#0C2D3C
secondary
#78442C
accent
#743EEA
background
#F4F6F6
surface
#E7EBEC
border
#C3C6C7
text
#020507
muted
#787A7A

Preview Lab

Preview with #0C2D3C

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

Preview Lab → · Contrast checker → · Palette generator →

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