#0C3C53#0C3C53

#0C3C53 is a dark, moderate cyan. Relative luminance 0.039; OKLCH L 33.7% C 0.063 H 234.6°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#0C3C53
RGBrgb(12, 60, 83)
HSLhsl(199, 75%, 19%)
HSVhsv(199, 86%, 33%)
CMYKcmyk(85.5%, 27.7%, 0%, 67.5%)
CIE-LABlab(23.45, -6.47, -18.34)
CIE-LCHlch(23.45, 19.45, 250.56°)
OKLaboklab(33.72% -0.0368 -0.0517)
OKLCHoklch(33.72% 0.063 234.6)
XYZxyz(3.3282, 3.9340, 8.7659)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3C53 #53230C
analogous
#0C5346 #0C3C53 #0C1853
triadic
#0C3C53 #530C3C #3C530C
tetradic
#0C3C53 #460C53 #53230C #18530C
square
#0C3C53 #460C53 #53230C #18530C
split-complementary
#0C3C53 #530C18 #53460C
monochromatic
#04131B #04151E #0C3C53 #146388 #1B89BE

Accessibility & contrast

On white

11.75
#0C3C53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#0C3C53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3C53
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3C53#FFFFFF#000000##FFFFFF
##0C3C531.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313C54
Deuteranopia (green-blind)
#273553
Tritanopia (blue-blind)
#004244
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0c3c53;
/* rgb */ color: rgb(12, 60, 83);
/* oklch */ color: oklch(33.7% 0.063 234.6);
Tailwind
colors: {
  custom: {
    50: '#587183',
    500: '#0c3c53',
    950: '#000000',
  },
}
SCSS
$custom: #0c3c53;
$custom-light: #587183;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3c53",
  "rgb": {
    "r": 12,
    "g": 60,
    "b": 83
  },
  "hsl": {
    "h": 199.437,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.33715,
    "c": 0.06347,
    "h": 234.6
  },
  "luminance": 0.03934
}

Semantic roles & 50–950 ramp

primary
#0C3C53
secondary
#8E4C2D
accent
#7336F1
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04070A
muted
#797A7C

Preview Lab

Preview with #0C3C53

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

Preview Lab → · Contrast checker → · Palette generator →

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