#0C4253#0C4253

#0C4253 is a dark, moderate cyan. Relative luminance 0.046; OKLCH L 35.4% C 0.061 H 224.2°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#0C4253
RGBrgb(12, 66, 83)
HSLhsl(194, 75%, 19%)
HSVhsv(194, 86%, 33%)
CMYKcmyk(85.5%, 20.5%, 0%, 67.5%)
CIE-LABlab(25.56, -10.28, -15.07)
CIE-LCHlch(25.56, 18.24, 235.68°)
OKLaboklab(35.4% -0.0434 -0.0423)
OKLCHoklch(35.4% 0.061 224.2)
XYZxyz(3.6605, 4.5987, 8.8766)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4253 #531D0C
analogous
#0C5340 #0C4253 #0C1E53
triadic
#0C4253 #530C42 #42530C
tetradic
#0C4253 #400C53 #531D0C #1E530C
square
#0C4253 #400C53 #531D0C #1E530C
split-complementary
#0C4253 #530C1E #53400C
monochromatic
#04151B #04171E #0C4253 #146D88 #1B97BE

Accessibility & contrast

On white

10.94
#0C4253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#0C4253 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4253
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4253#FFFFFF#000000##FFFFFF
##0C42531.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384054
Deuteranopia (green-blind)
#2F3A53
Tritanopia (blue-blind)
#004748
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #0c4253;
/* rgb */ color: rgb(12, 66, 83);
/* oklch */ color: oklch(35.4% 0.061 224.2);
Tailwind
colors: {
  custom: {
    50: '#597683',
    500: '#0c4253',
    950: '#000000',
  },
}
SCSS
$custom: #0c4253;
$custom-light: #597683;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4253",
  "rgb": {
    "r": 12,
    "g": 66,
    "b": 83
  },
  "hsl": {
    "h": 194.366,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.354,
    "c": 0.06057,
    "h": 224.2
  },
  "luminance": 0.04599
}

Semantic roles & 50–950 ramp

primary
#0C4253
secondary
#8E442D
accent
#6336F1
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#04080A
muted
#797B7C

Preview Lab

Preview with #0C4253

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

Preview Lab → · Contrast checker → · Palette generator →

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