#0C2843#0C2843

#0C2843 is a dark, moderate cyan. Relative luminance 0.020; OKLCH L 27.1% C 0.061 H 250.4°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#0C2843
RGBrgb(12, 40, 67)
HSLhsl(209, 70%, 15%)
HSVhsv(209, 82%, 26%)
CMYKcmyk(82.1%, 40.3%, 0%, 73.7%)
CIE-LABlab(15.49, 0.51, -20.05)
CIE-LCHlch(15.49, 20.06, 271.45°)
OKLaboklab(27.12% -0.0203 -0.057)
OKLCHoklch(27.12% 0.061 250.4)
XYZxyz(1.9231, 2.0008, 5.5939)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2843 #43270C
analogous
#0C4342 #0C2843 #0C0C43
triadic
#0C2843 #430C28 #28430C
tetradic
#0C2843 #420C43 #43270C #0C430C
square
#0C2843 #420C43 #43270C #0C430C
split-complementary
#0C2843 #430C0C #43420C
monochromatic
#050F1A #050F1A #0C2843 #154777 #1F66AB

Accessibility & contrast

On white

15.00
#0C2843 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#0C2843 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2843
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2843#FFFFFF#000000##FFFFFF
##0C28431.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2A44
Deuteranopia (green-blind)
#142442
Tritanopia (blue-blind)
#002E32
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0c2843;
/* rgb */ color: rgb(12, 40, 67);
/* oklch */ color: oklch(27.1% 0.061 250.4);
Tailwind
colors: {
  custom: {
    50: '#546177',
    500: '#0c2843',
    950: '#000000',
  },
}
SCSS
$custom: #0c2843;
$custom-light: #546177;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2843",
  "rgb": {
    "r": 12,
    "g": 40,
    "b": 67
  },
  "hsl": {
    "h": 209.455,
    "s": 69.62,
    "l": 15.49
  },
  "oklch": {
    "l": 0.2712,
    "c": 0.06054,
    "h": 250.4
  },
  "luminance": 0.02001
}

Semantic roles & 50–950 ramp

primary
#0C2843
secondary
#7F552C
accent
#923BEC
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030508
muted
#78797B

Preview Lab

Preview with #0C2843

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

Preview Lab → · Contrast checker → · Palette generator →

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