#0C3855#0C3855

#0C3855 is a dark, moderate cyan. Relative luminance 0.036; OKLCH L 32.7% C 0.069 H 242.7°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#0C3855
RGBrgb(12, 56, 85)
HSLhsl(204, 75%, 19%)
HSVhsv(204, 86%, 33%)
CMYKcmyk(85.9%, 34.1%, 0%, 66.7%)
CIE-LABlab(22.17, -2.98, -21.67)
CIE-LCHlch(22.17, 21.88, 262.17°)
OKLaboklab(32.73% -0.0317 -0.0615)
OKLCHoklch(32.73% 0.069 242.7)
XYZxyz(3.2048, 3.5620, 9.1112)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3855 #55290C
analogous
#0C554E #0C3855 #0C1355
triadic
#0C3855 #550C38 #38550C
tetradic
#0C3855 #4E0C55 #55290C #13550C
square
#0C3855 #4E0C55 #55290C #13550C
split-complementary
#0C3855 #550C13 #554E0C
monochromatic
#04121B #04151F #0C3855 #145B8B #1B7FC0

Accessibility & contrast

On white

12.26
#0C3855 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#0C3855 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3855
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3855#FFFFFF#000000##FFFFFF
##0C38551.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3956
Deuteranopia (green-blind)
#203254
Tritanopia (blue-blind)
#003F42
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #0c3855;
/* rgb */ color: rgb(12, 56, 85);
/* oklch */ color: oklch(32.7% 0.069 242.7);
Tailwind
colors: {
  custom: {
    50: '#586e85',
    500: '#0c3855',
    950: '#000000',
  },
}
SCSS
$custom: #0c3855;
$custom-light: #586e85;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3855",
  "rgb": {
    "r": 12,
    "g": 56,
    "b": 85
  },
  "hsl": {
    "h": 203.836,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.32731,
    "c": 0.06918,
    "h": 242.7
  },
  "luminance": 0.03562
}

Semantic roles & 50–950 ramp

primary
#0C3855
secondary
#90542D
accent
#8136F2
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04070B
muted
#797A7C

Preview Lab

Preview with #0C3855

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

Preview Lab → · Contrast checker → · Palette generator →

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