#0C3955#0C3955

#0C3955 is a dark, moderate cyan. Relative luminance 0.037; OKLCH L 33.0% C 0.068 H 241.3°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#0C3955
RGBrgb(12, 57, 85)
HSLhsl(203, 75%, 19%)
HSVhsv(203, 86%, 33%)
CMYKcmyk(85.9%, 32.9%, 0%, 66.7%)
CIE-LABlab(22.51, -3.66, -21.13)
CIE-LCHlch(22.51, 21.44, 260.18°)
OKLaboklab(33.01% -0.0328 -0.0599)
OKLCHoklch(33.01% 0.068 241.3)
XYZxyz(3.2538, 3.6599, 9.1275)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3955 #55280C
analogous
#0C554D #0C3955 #0C1455
triadic
#0C3955 #550C39 #39550C
tetradic
#0C3955 #4D0C55 #55280C #14550C
square
#0C3955 #4D0C55 #55280C #14550C
split-complementary
#0C3955 #550C14 #554D0C
monochromatic
#04121B #04151F #0C3955 #145D8B #1B81C0

Accessibility & contrast

On white

12.12
#0C3955 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#0C3955 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3955
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3955#FFFFFF#000000##FFFFFF
##0C39551.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3956
Deuteranopia (green-blind)
#223354
Tritanopia (blue-blind)
#004043
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #0c3955;
/* rgb */ color: rgb(12, 57, 85);
/* oklch */ color: oklch(33.0% 0.068 241.3);
Tailwind
colors: {
  custom: {
    50: '#586f85',
    500: '#0c3955',
    950: '#000000',
  },
}
SCSS
$custom: #0c3955;
$custom-light: #586f85;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3955",
  "rgb": {
    "r": 12,
    "g": 57,
    "b": 85
  },
  "hsl": {
    "h": 203.014,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.33005,
    "c": 0.06826,
    "h": 241.3
  },
  "luminance": 0.0366
}

Semantic roles & 50–950 ramp

primary
#0C3955
secondary
#90532D
accent
#7E36F2
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04070B
muted
#797A7C

Preview Lab

Preview with #0C3955

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

Preview Lab → · Contrast checker → · Palette generator →

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