#0C3045#0C3045

#0C3045 is a dark, muted cyan. Relative luminance 0.026; OKLCH L 29.5% C 0.055 H 238.6°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#0C3045
RGBrgb(12, 48, 69)
HSLhsl(202, 70%, 16%)
HSVhsv(202, 83%, 27%)
CMYKcmyk(82.6%, 30.4%, 0%, 72.9%)
CIE-LABlab(18.46, -4.28, -16.76)
CIE-LCHlch(18.46, 17.30, 255.66°)
OKLaboklab(29.5% -0.0288 -0.0473)
OKLCHoklch(29.5% 0.055 238.6)
XYZxyz(2.2823, 2.6215, 6.0148)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3045 #45210C
analogous
#0C453D #0C3045 #0C1345
triadic
#0C3045 #450C30 #30450C
tetradic
#0C3045 #3D0C45 #45210C #13450C
square
#0C3045 #3D0C45 #45210C #13450C
split-complementary
#0C3045 #450C13 #453D0C
monochromatic
#05121A #05121A #0C3045 #155479 #1E79AD

Accessibility & contrast

On white

13.78
#0C3045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C3045
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3045#FFFFFF#000000##FFFFFF
##0C30451.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263046
Deuteranopia (green-blind)
#1E2B45
Tritanopia (blue-blind)
#003537
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0c3045;
/* rgb */ color: rgb(12, 48, 69);
/* oklch */ color: oklch(29.5% 0.055 238.6);
Tailwind
colors: {
  custom: {
    50: '#546878',
    500: '#0c3045',
    950: '#000000',
  },
}
SCSS
$custom: #0c3045;
$custom-light: #546878;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3045",
  "rgb": {
    "r": 12,
    "g": 48,
    "b": 69
  },
  "hsl": {
    "h": 202.105,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.29501,
    "c": 0.05539,
    "h": 238.6
  },
  "luminance": 0.02622
}

Semantic roles & 50–950 ramp

primary
#0C3045
secondary
#814B2C
accent
#7C3BED
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030609
muted
#787A7B

Preview Lab

Preview with #0C3045

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

Preview Lab → · Contrast checker → · Palette generator →

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