#0C2A43#0C2A43

#0C2A43 is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.7% C 0.058 H 247.2°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#0C2A43
RGBrgb(12, 42, 67)
HSLhsl(207, 70%, 15%)
HSVhsv(207, 82%, 26%)
CMYKcmyk(82.1%, 37.3%, 0%, 73.7%)
CIE-LABlab(16.20, -0.94, -18.93)
CIE-LCHlch(16.20, 18.96, 267.17°)
OKLaboklab(27.68% -0.0226 -0.0537)
OKLCHoklch(27.68% 0.058 247.2)
XYZxyz(1.9923, 2.1391, 5.6170)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2A43 #43250C
analogous
#0C4340 #0C2A43 #0C0E43
triadic
#0C2A43 #430C2A #2A430C
tetradic
#0C2A43 #400C43 #43250C #0E430C
square
#0C2A43 #400C43 #43250C #0E430C
split-complementary
#0C2A43 #430C0E #43400C
monochromatic
#05101A #05101A #0C2A43 #154B77 #1F6BAB

Accessibility & contrast

On white

14.71
#0C2A43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#0C2A43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2A43
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2A43#FFFFFF#000000##FFFFFF
##0C2A431.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2B44
Deuteranopia (green-blind)
#172643
Tritanopia (blue-blind)
#003033
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0c2a43;
/* rgb */ color: rgb(12, 42, 67);
/* oklch */ color: oklch(27.7% 0.058 247.2);
Tailwind
colors: {
  custom: {
    50: '#546377',
    500: '#0c2a43',
    950: '#000000',
  },
}
SCSS
$custom: #0c2a43;
$custom-light: #546377;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2a43",
  "rgb": {
    "r": 12,
    "g": 42,
    "b": 67
  },
  "hsl": {
    "h": 207.273,
    "s": 69.62,
    "l": 15.49
  },
  "oklch": {
    "l": 0.27678,
    "c": 0.05828,
    "h": 247.2
  },
  "luminance": 0.02139
}

Semantic roles & 50–950 ramp

primary
#0C2A43
secondary
#7F522C
accent
#8C3BEC
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #0C2A43

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

Preview Lab → · Contrast checker → · Palette generator →

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