#0C3355#0C3355

#0C3355 is a dark, moderate cyan. Relative luminance 0.031; OKLCH L 31.4% C 0.074 H 249.1°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#0C3355
RGBrgb(12, 51, 85)
HSLhsl(208, 75%, 19%)
HSVhsv(208, 86%, 33%)
CMYKcmyk(85.9%, 40%, 0%, 66.7%)
CIE-LABlab(20.45, 0.47, -24.40)
CIE-LCHlch(20.45, 24.40, 271.12°)
OKLaboklab(31.37% -0.0265 -0.0695)
OKLCHoklch(31.37% 0.074 249.1)
XYZxyz(2.9745, 3.1013, 9.0344)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3355 #552E0C
analogous
#0C5553 #0C3355 #0C0F55
triadic
#0C3355 #550C33 #33550C
tetradic
#0C3355 #530C55 #552E0C #0F550C
square
#0C3355 #530C55 #552E0C #0F550C
split-complementary
#0C3355 #550C0F #55530C
monochromatic
#04101B #04131F #0C3355 #14538B #1B73C0

Accessibility & contrast

On white

12.96
#0C3355 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#0C3355 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3355
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3355#FFFFFF#000000##FFFFFF
##0C33551.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233556
Deuteranopia (green-blind)
#182E54
Tritanopia (blue-blind)
#003B40
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0c3355;
/* rgb */ color: rgb(12, 51, 85);
/* oklch */ color: oklch(31.4% 0.074 249.1);
Tailwind
colors: {
  custom: {
    50: '#586a85',
    500: '#0c3355',
    950: '#000000',
  },
}
SCSS
$custom: #0c3355;
$custom-light: #586a85;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3355",
  "rgb": {
    "r": 12,
    "g": 51,
    "b": 85
  },
  "hsl": {
    "h": 207.945,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.31374,
    "c": 0.07442,
    "h": 249.1
  },
  "luminance": 0.03102
}

Semantic roles & 50–950 ramp

primary
#0C3355
secondary
#905B2D
accent
#8D36F2
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #0C3355

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

Preview Lab → · Contrast checker → · Palette generator →

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