#0C3751#0C3751

#0C3751 is a dark, moderate cyan. Relative luminance 0.034; OKLCH L 32.2% C 0.065 H 240.4°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#0C3751
RGBrgb(12, 55, 81)
HSLhsl(203, 74%, 18%)
HSVhsv(203, 85%, 32%)
CMYKcmyk(85.2%, 32.1%, 0%, 68.2%)
CIE-LABlab(21.60, -3.99, -19.92)
CIE-LCHlch(21.60, 20.32, 258.67°)
OKLaboklab(32.2% -0.0321 -0.0564)
OKLCHoklch(32.2% 0.065 240.4)
XYZxyz(3.0024, 3.4043, 8.2818)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3751 #51260C
analogous
#0C5148 #0C3751 #0C1451
triadic
#0C3751 #510C37 #37510C
tetradic
#0C3751 #480C51 #51260C #14510C
square
#0C3751 #480C51 #51260C #14510C
split-complementary
#0C3751 #510C14 #51480C
monochromatic
#04121B #04131C #0C3751 #145B86 #1C7FBC

Accessibility & contrast

On white

12.49
#0C3751 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#0C3751 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3751
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3751#FFFFFF#000000##FFFFFF
##0C37511.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3752
Deuteranopia (green-blind)
#213151
Tritanopia (blue-blind)
#003E40
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #0c3751;
/* rgb */ color: rgb(12, 55, 81);
/* oklch */ color: oklch(32.2% 0.065 240.4);
Tailwind
colors: {
  custom: {
    50: '#576d82',
    500: '#0c3751',
    950: '#000000',
  },
}
SCSS
$custom: #0c3751;
$custom-light: #576d82;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3751",
  "rgb": {
    "r": 12,
    "g": 55,
    "b": 81
  },
  "hsl": {
    "h": 202.609,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.32204,
    "c": 0.06488,
    "h": 240.4
  },
  "luminance": 0.03405
}

Semantic roles & 50–950 ramp

primary
#0C3751
secondary
#8C512C
accent
#7D37F1
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04070A
muted
#797A7C

Preview Lab

Preview with #0C3751

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

Preview Lab → · Contrast checker → · Palette generator →

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