#0C2F49#0C2F49

#0C2F49 is a dark, moderate cyan. Relative luminance 0.026; OKLCH L 29.5% C 0.062 H 244.9°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#0C2F49
RGBrgb(12, 47, 73)
HSLhsl(206, 72%, 17%)
HSVhsv(206, 84%, 29%)
CMYKcmyk(83.6%, 35.6%, 0%, 71.4%)
CIE-LABlab(18.33, -1.89, -19.68)
CIE-LCHlch(18.33, 19.77, 264.51°)
OKLaboklab(29.47% -0.0262 -0.0558)
OKLCHoklch(29.47% 0.062 244.9)
XYZxyz(2.3703, 2.5920, 6.6774)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2F49 #49260C
analogous
#0C4945 #0C2F49 #0C1049
triadic
#0C2F49 #490C2F #2F490C
tetradic
#0C2F49 #450C49 #49260C #10490C
square
#0C2F49 #450C49 #49260C #10490C
split-complementary
#0C2F49 #490C10 #49450C
monochromatic
#04111A #04111A #0C2F49 #15517E #1D73B2

Accessibility & contrast

On white

13.83
#0C2F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#0C2F49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2F49
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2F49#FFFFFF#000000##FFFFFF
##0C2F491.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23304A
Deuteranopia (green-blind)
#1A2A49
Tritanopia (blue-blind)
#003538
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0c2f49;
/* rgb */ color: rgb(12, 47, 73);
/* oklch */ color: oklch(29.5% 0.062 244.9);
Tailwind
colors: {
  custom: {
    50: '#55677c',
    500: '#0c2f49',
    950: '#000000',
  },
}
SCSS
$custom: #0c2f49;
$custom-light: #55677c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2f49",
  "rgb": {
    "r": 12,
    "g": 47,
    "b": 73
  },
  "hsl": {
    "h": 205.574,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.29472,
    "c": 0.06166,
    "h": 244.9
  },
  "luminance": 0.02592
}

Semantic roles & 50–950 ramp

primary
#0C2F49
secondary
#85522C
accent
#8739EE
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#030609
muted
#787A7B

Preview Lab

Preview with #0C2F49

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

Preview Lab → · Contrast checker → · Palette generator →

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