#0C2E49#0C2E49

#0C2E49 is a dark, moderate cyan. Relative luminance 0.025; OKLCH L 29.2% C 0.063 H 246.4°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#0C2E49
RGBrgb(12, 46, 73)
HSLhsl(207, 72%, 17%)
HSVhsv(207, 84%, 29%)
CMYKcmyk(83.6%, 37%, 0%, 71.4%)
CIE-LABlab(17.98, -1.19, -20.24)
CIE-LCHlch(17.98, 20.27, 266.64°)
OKLaboklab(29.19% -0.0251 -0.0575)
OKLCHoklch(29.19% 0.063 246.4)
XYZxyz(2.3308, 2.5129, 6.6642)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2E49 #49270C
analogous
#0C4946 #0C2E49 #0C1049
triadic
#0C2E49 #490C2E #2E490C
tetradic
#0C2E49 #460C49 #49270C #10490C
square
#0C2E49 #460C49 #49270C #10490C
split-complementary
#0C2E49 #490C10 #49460C
monochromatic
#04111A #04111A #0C2E49 #154F7E #1D70B2

Accessibility & contrast

On white

13.98
#0C2E49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#0C2E49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2E49
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2E49#FFFFFF#000000##FFFFFF
##0C2E491.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222F4A
Deuteranopia (green-blind)
#192948
Tritanopia (blue-blind)
#003538
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0c2e49;
/* rgb */ color: rgb(12, 46, 73);
/* oklch */ color: oklch(29.2% 0.063 246.4);
Tailwind
colors: {
  custom: {
    50: '#55667c',
    500: '#0c2e49',
    950: '#000000',
  },
}
SCSS
$custom: #0c2e49;
$custom-light: #55667c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2e49",
  "rgb": {
    "r": 12,
    "g": 46,
    "b": 73
  },
  "hsl": {
    "h": 206.557,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.29194,
    "c": 0.06269,
    "h": 246.4
  },
  "luminance": 0.02513
}

Semantic roles & 50–950 ramp

primary
#0C2E49
secondary
#85532C
accent
#8A39EE
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#030509
muted
#787A7B

Preview Lab

Preview with #0C2E49

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

Preview Lab → · Contrast checker → · Palette generator →

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