#0C3853#0C3853

#0C3853 is a dark, moderate cyan. Relative luminance 0.035; OKLCH L 32.6% C 0.067 H 240.8°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#0C3853
RGBrgb(12, 56, 83)
HSLhsl(203, 75%, 19%)
HSVhsv(203, 86%, 33%)
CMYKcmyk(85.5%, 32.5%, 0%, 67.5%)
CIE-LABlab(22.05, -3.82, -20.53)
CIE-LCHlch(22.05, 20.88, 259.44°)
OKLaboklab(32.61% -0.0324 -0.0581)
OKLCHoklch(32.61% 0.067 240.8)
XYZxyz(3.1265, 3.5307, 8.6986)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3853 #53270C
analogous
#0C534A #0C3853 #0C1453
triadic
#0C3853 #530C38 #38530C
tetradic
#0C3853 #4A0C53 #53270C #14530C
square
#0C3853 #4A0C53 #53270C #14530C
split-complementary
#0C3853 #530C14 #534A0C
monochromatic
#04121B #04141E #0C3853 #145C88 #1B80BE

Accessibility & contrast

On white

12.31
#0C3853 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C3853
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3853#FFFFFF#000000##FFFFFF
##0C38531.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3854
Deuteranopia (green-blind)
#223253
Tritanopia (blue-blind)
#003F41
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #0c3853;
/* rgb */ color: rgb(12, 56, 83);
/* oklch */ color: oklch(32.6% 0.067 240.8);
Tailwind
colors: {
  custom: {
    50: '#586e83',
    500: '#0c3853',
    950: '#000000',
  },
}
SCSS
$custom: #0c3853;
$custom-light: #586e83;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3853",
  "rgb": {
    "r": 12,
    "g": 56,
    "b": 83
  },
  "hsl": {
    "h": 202.817,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.32605,
    "c": 0.06657,
    "h": 240.8
  },
  "luminance": 0.03531
}

Semantic roles & 50–950 ramp

primary
#0C3853
secondary
#8E522D
accent
#7E36F1
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04070A
muted
#797A7C

Preview Lab

Preview with #0C3853

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

Preview Lab → · Contrast checker → · Palette generator →

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