#0C2D3D#0C2D3D

#0C2D3D is a dark, muted cyan. Relative luminance 0.023; OKLCH L 28.2% C 0.048 H 233.3°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#0C2D3D
RGBrgb(12, 45, 61)
HSLhsl(200, 67%, 14%)
HSVhsv(200, 80%, 24%)
CMYKcmyk(80.3%, 26.2%, 0%, 76.1%)
CIE-LABlab(16.95, -5.56, -13.62)
CIE-LCHlch(16.95, 14.71, 247.78°)
OKLaboklab(28.16% -0.0285 -0.0383)
OKLCHoklch(28.16% 0.048 233.3)
XYZxyz(1.9320, 2.2916, 4.7545)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2D3D #3D1C0C
analogous
#0C3D35 #0C2D3D #0C153D
triadic
#0C2D3D #3D0C2D #2D3D0C
tetradic
#0C2D3D #350C3D #3D1C0C #153D0C
square
#0C2D3D #350C3D #3D1C0C #153D0C
split-complementary
#0C2D3D #3D0C15 #3D350C
monochromatic
#05131A #05131A #0C2D3D #165370 #2078A3

Accessibility & contrast

On white

14.40
#0C2D3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2D3D
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2D3D#FFFFFF#000000##FFFFFF
##0C2D3D1.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c2d3d;
/* rgb */ color: rgb(12, 45, 61);
/* oklch */ color: oklch(28.2% 0.048 233.3);
Tailwind
colors: {
  custom: {
    50: '#526572',
    500: '#0c2d3d',
    950: '#000000',
  },
}
SCSS
$custom: #0c2d3d;
$custom-light: #526572;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2d3d",
  "rgb": {
    "r": 12,
    "g": 45,
    "b": 61
  },
  "hsl": {
    "h": 199.592,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.2816,
    "c": 0.04773,
    "h": 233.3
  },
  "luminance": 0.02292
}

Semantic roles & 50–950 ramp

primary
#0C2D3D
secondary
#79452C
accent
#763EEA
background
#F4F6F6
surface
#E7EBEC
border
#C3C6C7
text
#030508
muted
#787A7B

Preview Lab

Preview with #0C2D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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