#0C2B3A#0C2B3A

#0C2B3A is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.4% C 0.045 H 233.0°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#0C2B3A
RGBrgb(12, 43, 58)
HSLhsl(200, 66%, 14%)
HSVhsv(200, 79%, 23%)
CMYKcmyk(79.3%, 25.9%, 0%, 77.3%)
CIE-LABlab(16.06, -5.44, -12.92)
CIE-LCHlch(16.06, 14.01, 247.16°)
OKLaboklab(27.4% -0.0273 -0.0362)
OKLCHoklch(27.4% 0.045 233)
XYZxyz(1.7789, 2.1112, 4.3159)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2B3A #3A1B0C
analogous
#0C3A32 #0C2B3A #0C143A
triadic
#0C2B3A #3A0C2B #2B3A0C
tetradic
#0C2B3A #320C3A #3A1B0C #143A0C
square
#0C2B3A #320C3A #3A1B0C #143A0C
split-complementary
#0C2B3A #3A0C14 #3A320C
monochromatic
#051319 #051319 #0C2B3A #16516D #21769F

Accessibility & contrast

On white

14.77
#0C2B3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#0C2B3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2B3A
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2B3A#FFFFFF#000000##FFFFFF
##0C2B3A1.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242A3B
Deuteranopia (green-blind)
#1D263A
Tritanopia (blue-blind)
#002F30
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0c2b3a;
/* rgb */ color: rgb(12, 43, 58);
/* oklch */ color: oklch(27.4% 0.045 233.0);
Tailwind
colors: {
  custom: {
    50: '#526470',
    500: '#0c2b3a',
    950: '#000000',
  },
}
SCSS
$custom: #0c2b3a;
$custom-light: #526470;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2b3a",
  "rgb": {
    "r": 12,
    "g": 43,
    "b": 58
  },
  "hsl": {
    "h": 199.565,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.27401,
    "c": 0.04541,
    "h": 233
  },
  "luminance": 0.02111
}

Semantic roles & 50–950 ramp

primary
#0C2B3A
secondary
#76442C
accent
#763FE9
background
#F4F5F6
surface
#E7EAEC
border
#C3C6C7
text
#020507
muted
#78797A

Preview Lab

Preview with #0C2B3A

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

Preview Lab → · Contrast checker → · Palette generator →

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