#0C3345#0C3345

#0C3345 is a dark, muted cyan. Relative luminance 0.029; OKLCH L 30.4% C 0.053 H 232.7°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#0C3345
RGBrgb(12, 51, 69)
HSLhsl(199, 70%, 16%)
HSVhsv(199, 83%, 27%)
CMYKcmyk(82.6%, 26.1%, 0%, 72.9%)
CIE-LABlab(19.54, -6.30, -15.08)
CIE-LCHlch(19.54, 16.34, 247.32°)
OKLaboklab(30.36% -0.0323 -0.0424)
OKLCHoklch(30.36% 0.053 232.7)
XYZxyz(2.4092, 2.8752, 6.0571)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3345 #451E0C
analogous
#0C453A #0C3345 #0C1645
triadic
#0C3345 #450C33 #33450C
tetradic
#0C3345 #3A0C45 #451E0C #16450C
square
#0C3345 #3A0C45 #451E0C #16450C
split-complementary
#0C3345 #450C16 #453A0C
monochromatic
#05131A #05131A #0C3345 #155A79 #1E80AD

Accessibility & contrast

On white

13.33
#0C3345 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#0C3345 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3345
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3345#FFFFFF#000000##FFFFFF
##0C33451.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3246
Deuteranopia (green-blind)
#222D45
Tritanopia (blue-blind)
#003839
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0c3345;
/* rgb */ color: rgb(12, 51, 69);
/* oklch */ color: oklch(30.4% 0.053 232.7);
Tailwind
colors: {
  custom: {
    50: '#556a78',
    500: '#0c3345',
    950: '#000000',
  },
}
SCSS
$custom: #0c3345;
$custom-light: #556a78;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3345",
  "rgb": {
    "r": 12,
    "g": 51,
    "b": 69
  },
  "hsl": {
    "h": 198.947,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.30358,
    "c": 0.05333,
    "h": 232.7
  },
  "luminance": 0.02875
}

Semantic roles & 50–950 ramp

primary
#0C3345
secondary
#81472C
accent
#733BED
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030609
muted
#787A7B

Preview Lab

Preview with #0C3345

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

Preview Lab → · Contrast checker → · Palette generator →

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