#0C334A#0C334A

#0C334A is a dark, muted cyan. Relative luminance 0.029; OKLCH L 30.7% C 0.059 H 239.3°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#0C334A
RGBrgb(12, 51, 74)
HSLhsl(202, 72%, 17%)
HSVhsv(202, 84%, 29%)
CMYKcmyk(83.8%, 31.1%, 0%, 71%)
CIE-LABlab(19.80, -4.22, -18.05)
CIE-LCHlch(19.80, 18.53, 256.82°)
OKLaboklab(30.66% -0.0303 -0.051)
OKLCHoklch(30.66% 0.059 239.3)
XYZxyz(2.5710, 2.9399, 6.9092)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C334A #4A230C
analogous
#0C4A42 #0C334A #0C144A
triadic
#0C334A #4A0C33 #334A0C
tetradic
#0C334A #420C4A #4A230C #144A0C
square
#0C334A #420C4A #4A230C #144A0C
split-complementary
#0C334A #4A0C14 #4A420C
monochromatic
#04121A #04121A #0C334A #15577F #1D7CB3

Accessibility & contrast

On white

13.22
#0C334A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#0C334A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C334A
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C334A#FFFFFF#000000##FFFFFF
##0C334A1.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28334B
Deuteranopia (green-blind)
#202D4A
Tritanopia (blue-blind)
#00393B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0c334a;
/* rgb */ color: rgb(12, 51, 74);
/* oklch */ color: oklch(30.7% 0.059 239.3);
Tailwind
colors: {
  custom: {
    50: '#566a7c',
    500: '#0c334a',
    950: '#000000',
  },
}
SCSS
$custom: #0c334a;
$custom-light: #566a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c334a",
  "rgb": {
    "r": 12,
    "g": 51,
    "b": 74
  },
  "hsl": {
    "h": 202.258,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.30656,
    "c": 0.05933,
    "h": 239.3
  },
  "luminance": 0.0294
}

Semantic roles & 50–950 ramp

primary
#0C334A
secondary
#864D2C
accent
#7C39EF
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#030609
muted
#787A7B

Preview Lab

Preview with #0C334A

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

Preview Lab → · Contrast checker → · Palette generator →

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