#0C2C45#0C2C45

#0C2C45 is a dark, muted cyan. Relative luminance 0.023; OKLCH L 28.4% C 0.059 H 245.8°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#0C2C45
RGBrgb(12, 44, 69)
HSLhsl(206, 70%, 16%)
HSVhsv(206, 83%, 27%)
CMYKcmyk(82.6%, 36.2%, 0%, 72.9%)
CIE-LABlab(17.03, -1.50, -19.00)
CIE-LCHlch(17.03, 19.06, 265.49°)
OKLaboklab(28.37% -0.0242 -0.0539)
OKLCHoklch(28.37% 0.059 245.8)
XYZxyz(2.1261, 2.3090, 5.9627)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2C45 #45250C
analogous
#0C4541 #0C2C45 #0C0F45
triadic
#0C2C45 #450C2C #2C450C
tetradic
#0C2C45 #410C45 #45250C #0F450C
square
#0C2C45 #410C45 #45250C #0F450C
split-complementary
#0C2C45 #450C0F #45410C
monochromatic
#05111A #05111A #0C2C45 #154D79 #1E6EAD

Accessibility & contrast

On white

14.37
#0C2C45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2C45
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2C45#FFFFFF#000000##FFFFFF
##0C2C451.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212D46
Deuteranopia (green-blind)
#192845
Tritanopia (blue-blind)
#003235
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0c2c45;
/* rgb */ color: rgb(12, 44, 69);
/* oklch */ color: oklch(28.4% 0.059 245.8);
Tailwind
colors: {
  custom: {
    50: '#546479',
    500: '#0c2c45',
    950: '#000000',
  },
}
SCSS
$custom: #0c2c45;
$custom-light: #546479;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2c45",
  "rgb": {
    "r": 12,
    "g": 44,
    "b": 69
  },
  "hsl": {
    "h": 206.316,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.28371,
    "c": 0.05906,
    "h": 245.8
  },
  "luminance": 0.02309
}

Semantic roles & 50–950 ramp

primary
#0C2C45
secondary
#81512C
accent
#893BED
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030509
muted
#787A7B

Preview Lab

Preview with #0C2C45

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

Preview Lab → · Contrast checker → · Palette generator →

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