#0C283D#0C283D

#0C283D is a dark, muted cyan. Relative luminance 0.019; OKLCH L 26.7% C 0.052 H 244.3°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#0C283D
RGBrgb(12, 40, 61)
HSLhsl(206, 67%, 14%)
HSVhsv(206, 80%, 24%)
CMYKcmyk(80.3%, 34.4%, 0%, 76.1%)
CIE-LABlab(15.13, -2.09, -16.46)
CIE-LCHlch(15.13, 16.59, 262.77°)
OKLaboklab(26.72% -0.0224 -0.0465)
OKLCHoklch(26.72% 0.052 244.3)
XYZxyz(1.7524, 1.9325, 4.6946)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C283D #3D210C
analogous
#0C3D3A #0C283D #0C103D
triadic
#0C283D #3D0C28 #283D0C
tetradic
#0C283D #3A0C3D #3D210C #103D0C
square
#0C283D #3A0C3D #3D210C #103D0C
split-complementary
#0C283D #3D0C10 #3D3A0C
monochromatic
#05111A #05111A #0C283D #164A70 #206BA3

Accessibility & contrast

On white

15.14
#0C283D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#0C283D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C283D
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C283D#FFFFFF#000000##FFFFFF
##0C283D1.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E293E
Deuteranopia (green-blind)
#18243D
Tritanopia (blue-blind)
#002D2F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0c283d;
/* rgb */ color: rgb(12, 40, 61);
/* oklch */ color: oklch(26.7% 0.052 244.3);
Tailwind
colors: {
  custom: {
    50: '#526172',
    500: '#0c283d',
    950: '#000000',
  },
}
SCSS
$custom: #0c283d;
$custom-light: #526172;
$custom-dark: #000000;
JSON
{
  "hex": "#0c283d",
  "rgb": {
    "r": 12,
    "g": 40,
    "b": 61
  },
  "hsl": {
    "h": 205.714,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.26716,
    "c": 0.05165,
    "h": 244.3
  },
  "luminance": 0.01933
}

Semantic roles & 50–950 ramp

primary
#0C283D
secondary
#794D2C
accent
#883EEA
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020508
muted
#78797B

Preview Lab

Preview with #0C283D

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

Preview Lab → · Contrast checker → · Palette generator →

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