#0C3351#0C3351

#0C3351 is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 31.1% C 0.069 H 246.2°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#0C3351
RGBrgb(12, 51, 81)
HSLhsl(206, 74%, 18%)
HSVhsv(206, 85%, 32%)
CMYKcmyk(85.2%, 37%, 0%, 68.2%)
CIE-LABlab(20.20, -1.25, -22.11)
CIE-LCHlch(20.20, 22.15, 266.76°)
OKLaboklab(31.1% -0.0278 -0.0629)
OKLCHoklch(31.1% 0.069 246.2)
XYZxyz(2.8201, 3.0396, 8.2210)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3351 #512A0C
analogous
#0C514C #0C3351 #0C1051
triadic
#0C3351 #510C33 #33510C
tetradic
#0C3351 #4C0C51 #512A0C #10510C
square
#0C3351 #4C0C51 #512A0C #10510C
split-complementary
#0C3351 #510C10 #514C0C
monochromatic
#04111B #04111C #0C3351 #145586 #1C76BC

Accessibility & contrast

On white

13.06
#0C3351 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#0C3351 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3351
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3351#FFFFFF#000000##FFFFFF
##0C33511.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253452
Deuteranopia (green-blind)
#1B2E50
Tritanopia (blue-blind)
#003A3E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0c3351;
/* rgb */ color: rgb(12, 51, 81);
/* oklch */ color: oklch(31.1% 0.069 246.2);
Tailwind
colors: {
  custom: {
    50: '#576a82',
    500: '#0c3351',
    950: '#000000',
  },
}
SCSS
$custom: #0c3351;
$custom-light: #576a82;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3351",
  "rgb": {
    "r": 12,
    "g": 51,
    "b": 81
  },
  "hsl": {
    "h": 206.087,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.31103,
    "c": 0.06873,
    "h": 246.2
  },
  "luminance": 0.0304
}

Semantic roles & 50–950 ramp

primary
#0C3351
secondary
#8C562C
accent
#8837F1
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #0C3351

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

Preview Lab → · Contrast checker → · Palette generator →

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