#0C283A#0C283A

#0C283A is a dark, muted cyan. Relative luminance 0.019; OKLCH L 26.5% C 0.048 H 240.2°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#0C283A
RGBrgb(12, 40, 58)
HSLhsl(203, 66%, 14%)
HSVhsv(203, 79%, 23%)
CMYKcmyk(79.3%, 31%, 0%, 77.3%)
CIE-LABlab(14.96, -3.36, -14.63)
CIE-LCHlch(14.96, 15.01, 257.06°)
OKLaboklab(26.53% -0.0236 -0.0412)
OKLCHoklch(26.53% 0.048 240.2)
XYZxyz(1.6738, 1.9011, 4.2809)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C283A #3A1E0C
analogous
#0C3A35 #0C283A #0C113A
triadic
#0C283A #3A0C28 #283A0C
tetradic
#0C283A #350C3A #3A1E0C #113A0C
square
#0C283A #350C3A #3A1E0C #113A0C
split-complementary
#0C283A #3A0C11 #3A350C
monochromatic
#051119 #051119 #0C283A #164B6D #216E9F

Accessibility & contrast

On white

15.22
#0C283A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#0C283A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C283A
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C283A#FFFFFF#000000##FFFFFF
##0C283A1.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20283B
Deuteranopia (green-blind)
#19243A
Tritanopia (blue-blind)
#002C2E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0c283a;
/* rgb */ color: rgb(12, 40, 58);
/* oklch */ color: oklch(26.5% 0.048 240.2);
Tailwind
colors: {
  custom: {
    50: '#516170',
    500: '#0c283a',
    950: '#000000',
  },
}
SCSS
$custom: #0c283a;
$custom-light: #516170;
$custom-dark: #000000;
JSON
{
  "hex": "#0c283a",
  "rgb": {
    "r": 12,
    "g": 40,
    "b": 58
  },
  "hsl": {
    "h": 203.478,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.26526,
    "c": 0.0475,
    "h": 240.2
  },
  "luminance": 0.01901
}

Semantic roles & 50–950 ramp

primary
#0C283A
secondary
#76492C
accent
#813FE9
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020507
muted
#78797A

Preview Lab

Preview with #0C283A

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

Preview Lab → · Contrast checker → · Palette generator →

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