#0C2D46#0C2D46

#0C2D46 is a dark, muted cyan. Relative luminance 0.024; OKLCH L 28.7% C 0.059 H 245.1°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#0C2D46
RGBrgb(12, 45, 70)
HSLhsl(206, 71%, 16%)
HSVhsv(206, 83%, 27%)
CMYKcmyk(82.9%, 35.7%, 0%, 72.5%)
CIE-LABlab(17.45, -1.77, -19.03)
CIE-LCHlch(17.45, 19.11, 264.67°)
OKLaboklab(28.72% -0.025 -0.0539)
OKLCHoklch(28.72% 0.059 245.1)
XYZxyz(2.1951, 2.3969, 6.1401)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2D46 #46250C
analogous
#0C4642 #0C2D46 #0C1046
triadic
#0C2D46 #460C2D #2D460C
tetradic
#0C2D46 #420C46 #46250C #10460C
square
#0C2D46 #420C46 #46250C #10460C
split-complementary
#0C2D46 #460C10 #46420C
monochromatic
#04111A #04111A #0C2D46 #154F7A #1E70AE

Accessibility & contrast

On white

14.19
#0C2D46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#0C2D46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2D46
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2D46#FFFFFF#000000##FFFFFF
##0C2D461.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222E47
Deuteranopia (green-blind)
#192846
Tritanopia (blue-blind)
#003336
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0c2d46;
/* rgb */ color: rgb(12, 45, 70);
/* oklch */ color: oklch(28.7% 0.059 245.1);
Tailwind
colors: {
  custom: {
    50: '#546579',
    500: '#0c2d46',
    950: '#000000',
  },
}
SCSS
$custom: #0c2d46;
$custom-light: #546579;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2d46",
  "rgb": {
    "r": 12,
    "g": 45,
    "b": 70
  },
  "hsl": {
    "h": 205.862,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.28717,
    "c": 0.05946,
    "h": 245.1
  },
  "luminance": 0.02397
}

Semantic roles & 50–950 ramp

primary
#0C2D46
secondary
#82512C
accent
#883AED
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030509
muted
#787A7B

Preview Lab

Preview with #0C2D46

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

Preview Lab → · Contrast checker → · Palette generator →

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