#0C2846#0C2846

#0C2846 is a dark, moderate cyan. Relative luminance 0.020; OKLCH L 27.3% C 0.065 H 252.7°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#0C2846
RGBrgb(12, 40, 70)
HSLhsl(211, 71%, 16%)
HSVhsv(211, 83%, 27%)
CMYKcmyk(82.9%, 42.9%, 0%, 72.5%)
CIE-LABlab(15.68, 1.83, -21.82)
CIE-LCHlch(15.68, 21.89, 274.78°)
OKLaboklab(27.33% -0.0194 -0.0622)
OKLCHoklch(27.33% 0.065 252.7)
XYZxyz(2.0155, 2.0377, 6.0803)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2846 #462A0C
analogous
#0C4546 #0C2846 #0D0C46
triadic
#0C2846 #460C28 #28460C
tetradic
#0C2846 #460C45 #462A0C #0C460D
square
#0C2846 #460C45 #462A0C #0C460D
split-complementary
#0C2846 #460D0C #45460C
monochromatic
#040F1A #040F1A #0C2846 #15467A #1E64AE

Accessibility & contrast

On white

14.92
#0C2846 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#0C2846 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2846
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2846#FFFFFF#000000##FFFFFF
##0C28461.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2A47
Deuteranopia (green-blind)
#112545
Tritanopia (blue-blind)
#002F33
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0c2846;
/* rgb */ color: rgb(12, 40, 70);
/* oklch */ color: oklch(27.3% 0.065 252.7);
Tailwind
colors: {
  custom: {
    50: '#546179',
    500: '#0c2846',
    950: '#000000',
  },
}
SCSS
$custom: #0c2846;
$custom-light: #546179;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2846",
  "rgb": {
    "r": 12,
    "g": 40,
    "b": 70
  },
  "hsl": {
    "h": 211.034,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.27334,
    "c": 0.06514,
    "h": 252.7
  },
  "luminance": 0.02038
}

Semantic roles & 50–950 ramp

primary
#0C2846
secondary
#82582C
accent
#973AED
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030509
muted
#78797B

Preview Lab

Preview with #0C2846

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

Preview Lab → · Contrast checker → · Palette generator →

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