#0C2B47#0C2B47

#0C2B47 is a dark, moderate cyan. Relative luminance 0.023; OKLCH L 28.2% C 0.063 H 249.2°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#0C2B47
RGBrgb(12, 43, 71)
HSLhsl(208, 71%, 16%)
HSVhsv(208, 83%, 28%)
CMYKcmyk(83.1%, 39.4%, 0%, 72.2%)
CIE-LABlab(16.80, 0.08, -20.73)
CIE-LCHlch(16.80, 20.73, 270.23°)
OKLaboklab(28.23% -0.0224 -0.059)
OKLCHoklch(28.23% 0.063 249.2)
XYZxyz(2.1524, 2.2606, 6.2829)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2B47 #47280C
analogous
#0C4746 #0C2B47 #0C0E47
triadic
#0C2B47 #470C2B #2B470C
tetradic
#0C2B47 #460C47 #47280C #0E470C
square
#0C2B47 #460C47 #47280C #0E470C
split-complementary
#0C2B47 #470C0E #47460C
monochromatic
#04101A #04101A #0C2B47 #154B7B #1E6AB0

Accessibility & contrast

On white

14.46
#0C2B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2B47
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2B47#FFFFFF#000000##FFFFFF
##0C2B471.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2C48
Deuteranopia (green-blind)
#162746
Tritanopia (blue-blind)
#003235
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0c2b47;
/* rgb */ color: rgb(12, 43, 71);
/* oklch */ color: oklch(28.2% 0.063 249.2);
Tailwind
colors: {
  custom: {
    50: '#55647a',
    500: '#0c2b47',
    950: '#000000',
  },
}
SCSS
$custom: #0c2b47;
$custom-light: #55647a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2b47",
  "rgb": {
    "r": 12,
    "g": 43,
    "b": 71
  },
  "hsl": {
    "h": 208.475,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.28228,
    "c": 0.06307,
    "h": 249.2
  },
  "luminance": 0.02261
}

Semantic roles & 50–950 ramp

primary
#0C2B47
secondary
#83552C
accent
#8F3AEE
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030509
muted
#78797B

Preview Lab

Preview with #0C2B47

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

Preview Lab → · Contrast checker → · Palette generator →

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