#0C2B49#0C2B49

#0C2B49 is a dark, moderate cyan. Relative luminance 0.023; OKLCH L 28.4% C 0.066 H 250.8°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#0C2B49
RGBrgb(12, 43, 73)
HSLhsl(210, 72%, 17%)
HSVhsv(210, 84%, 29%)
CMYKcmyk(83.6%, 41.1%, 0%, 71.4%)
CIE-LABlab(16.93, 0.95, -21.90)
CIE-LCHlch(16.93, 21.92, 272.50°)
OKLaboklab(28.37% -0.0218 -0.0624)
OKLCHoklch(28.37% 0.066 250.8)
XYZxyz(2.2176, 2.2867, 6.6265)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2B49 #492A0C
analogous
#0C4949 #0C2B49 #0C0D49
triadic
#0C2B49 #490C2B #2B490C
tetradic
#0C2B49 #490C49 #492A0C #0D490C
square
#0C2B49 #490C49 #492A0C #0D490C
split-complementary
#0C2B49 #490C0D #49490C
monochromatic
#040F1A #040F1A #0C2B49 #154A7E #1D69B2

Accessibility & contrast

On white

14.41
#0C2B49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0C2B49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2B49
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2B49#FFFFFF#000000##FFFFFF
##0C2B491.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2D4A
Deuteranopia (green-blind)
#142748
Tritanopia (blue-blind)
#003236
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0c2b49;
/* rgb */ color: rgb(12, 43, 73);
/* oklch */ color: oklch(28.4% 0.066 250.8);
Tailwind
colors: {
  custom: {
    50: '#55647c',
    500: '#0c2b49',
    950: '#000000',
  },
}
SCSS
$custom: #0c2b49;
$custom-light: #55647c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2b49",
  "rgb": {
    "r": 12,
    "g": 43,
    "b": 73
  },
  "hsl": {
    "h": 209.508,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.28368,
    "c": 0.06607,
    "h": 250.8
  },
  "luminance": 0.02287
}

Semantic roles & 50–950 ramp

primary
#0C2B49
secondary
#85582C
accent
#9239EE
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#030509
muted
#78797B

Preview Lab

Preview with #0C2B49

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

Preview Lab → · Contrast checker → · Palette generator →

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