#0C2B46#0C2B46

#0C2B46 is a dark, moderate cyan. Relative luminance 0.022; OKLCH L 28.2% C 0.062 H 248.3°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#0C2B46
RGBrgb(12, 43, 70)
HSLhsl(208, 71%, 16%)
HSVhsv(208, 83%, 27%)
CMYKcmyk(82.9%, 38.6%, 0%, 72.5%)
CIE-LABlab(16.74, -0.35, -20.15)
CIE-LCHlch(16.74, 20.15, 269.00°)
OKLaboklab(28.16% -0.0227 -0.0572)
OKLCHoklch(28.16% 0.062 248.3)
XYZxyz(2.1206, 2.2479, 6.1153)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2B46 #46270C
analogous
#0C4644 #0C2B46 #0C0E46
triadic
#0C2B46 #460C2B #2B460C
tetradic
#0C2B46 #440C46 #46270C #0E460C
square
#0C2B46 #440C46 #46270C #0E460C
split-complementary
#0C2B46 #460C0E #46440C
monochromatic
#04101A #04101A #0C2B46 #154B7A #1E6BAE

Accessibility & contrast

On white

14.49
#0C2B46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#0C2B46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2B46
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2B46#FFFFFF#000000##FFFFFF
##0C2B461.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2C47
Deuteranopia (green-blind)
#162745
Tritanopia (blue-blind)
#003135
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0c2b46;
/* rgb */ color: rgb(12, 43, 70);
/* oklch */ color: oklch(28.2% 0.062 248.3);
Tailwind
colors: {
  custom: {
    50: '#546479',
    500: '#0c2b46',
    950: '#000000',
  },
}
SCSS
$custom: #0c2b46;
$custom-light: #546479;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2b46",
  "rgb": {
    "r": 12,
    "g": 43,
    "b": 70
  },
  "hsl": {
    "h": 207.931,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.28159,
    "c": 0.0616,
    "h": 248.3
  },
  "luminance": 0.02248
}

Semantic roles & 50–950 ramp

primary
#0C2B46
secondary
#82542C
accent
#8E3AED
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030509
muted
#78797B

Preview Lab

Preview with #0C2B46

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

Preview Lab → · Contrast checker → · Palette generator →

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