#0C2D43#0C2D43

#0C2D43 is a dark, muted cyan. Relative luminance 0.024; OKLCH L 28.5% C 0.055 H 241.8°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#0C2D43
RGBrgb(12, 45, 67)
HSLhsl(204, 70%, 15%)
HSVhsv(204, 82%, 26%)
CMYKcmyk(82.1%, 32.8%, 0%, 73.7%)
CIE-LABlab(17.27, -3.06, -17.25)
CIE-LCHlch(17.27, 17.52, 259.95°)
OKLaboklab(28.52% -0.0261 -0.0488)
OKLCHoklch(28.52% 0.055 241.8)
XYZxyz(2.1027, 2.3599, 5.6538)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2D43 #43220C
analogous
#0C433D #0C2D43 #0C1143
triadic
#0C2D43 #430C2D #2D430C
tetradic
#0C2D43 #3D0C43 #43220C #11430C
square
#0C2D43 #3D0C43 #43220C #11430C
split-complementary
#0C2D43 #430C11 #433D0C
monochromatic
#05111A #05111A #0C2D43 #155077 #1F73AB

Accessibility & contrast

On white

14.27
#0C2D43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#0C2D43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2D43
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2D43#FFFFFF#000000##FFFFFF
##0C2D431.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232D44
Deuteranopia (green-blind)
#1B2843
Tritanopia (blue-blind)
#003235
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0c2d43;
/* rgb */ color: rgb(12, 45, 67);
/* oklch */ color: oklch(28.5% 0.055 241.8);
Tailwind
colors: {
  custom: {
    50: '#546577',
    500: '#0c2d43',
    950: '#000000',
  },
}
SCSS
$custom: #0c2d43;
$custom-light: #546577;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2d43",
  "rgb": {
    "r": 12,
    "g": 45,
    "b": 67
  },
  "hsl": {
    "h": 204,
    "s": 69.62,
    "l": 15.49
  },
  "oklch": {
    "l": 0.28524,
    "c": 0.05531,
    "h": 241.8
  },
  "luminance": 0.0236
}

Semantic roles & 50–950 ramp

primary
#0C2D43
secondary
#7F4D2C
accent
#823BEC
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030508
muted
#787A7B

Preview Lab

Preview with #0C2D43

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

Preview Lab → · Contrast checker → · Palette generator →

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