#0C283B#0C283B

#0C283B is a dark, muted cyan. Relative luminance 0.019; OKLCH L 26.6% C 0.049 H 241.7°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#0C283B
RGBrgb(12, 40, 59)
HSLhsl(204, 66%, 14%)
HSVhsv(204, 80%, 23%)
CMYKcmyk(79.7%, 32.2%, 0%, 76.9%)
CIE-LABlab(15.01, -2.94, -15.24)
CIE-LCHlch(15.01, 15.52, 259.09°)
OKLaboklab(26.59% -0.0232 -0.043)
OKLCHoklch(26.59% 0.049 241.7)
XYZxyz(1.6995, 1.9113, 4.4162)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C283B #3B1F0C
analogous
#0C3B37 #0C283B #0C113B
triadic
#0C283B #3B0C28 #283B0C
tetradic
#0C283B #370C3B #3B1F0C #113B0C
square
#0C283B #370C3B #3B1F0C #113B0C
split-complementary
#0C283B #3B0C11 #3B370C
monochromatic
#051119 #051119 #0C283B #164A6E #216DA1

Accessibility & contrast

On white

15.19
#0C283B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C283B
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C283B#FFFFFF#000000##FFFFFF
##0C283B1.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F283C
Deuteranopia (green-blind)
#19243B
Tritanopia (blue-blind)
#002D2F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0c283b;
/* rgb */ color: rgb(12, 40, 59);
/* oklch */ color: oklch(26.6% 0.049 241.7);
Tailwind
colors: {
  custom: {
    50: '#526171',
    500: '#0c283b',
    950: '#000000',
  },
}
SCSS
$custom: #0c283b;
$custom-light: #526171;
$custom-dark: #000000;
JSON
{
  "hex": "#0c283b",
  "rgb": {
    "r": 12,
    "g": 40,
    "b": 59
  },
  "hsl": {
    "h": 204.255,
    "s": 66.197,
    "l": 13.922
  },
  "oklch": {
    "l": 0.26589,
    "c": 0.04885,
    "h": 241.7
  },
  "luminance": 0.01912
}

Semantic roles & 50–950 ramp

primary
#0C283B
secondary
#774A2C
accent
#843FE9
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020507
muted
#78797A

Preview Lab

Preview with #0C283B

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

Preview Lab → · Contrast checker → · Palette generator →

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