#0C3257#0C3257

#0C3257 is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 31.2% C 0.079 H 251.5°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#0C3257
RGBrgb(12, 50, 87)
HSLhsl(210, 76%, 19%)
HSVhsv(210, 86%, 34%)
CMYKcmyk(86.2%, 42.5%, 0%, 65.9%)
CIE-LABlab(20.23, 2.05, -26.06)
CIE-LCHlch(20.23, 26.14, 274.50°)
OKLaboklab(31.25% -0.0249 -0.0744)
OKLCHoklch(31.25% 0.079 251.5)
XYZxyz(3.0119, 3.0471, 9.4444)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3257 #57310C
analogous
#0C5757 #0C3257 #0C0C57
triadic
#0C3257 #570C32 #32570C
tetradic
#0C3257 #570C57 #57310C #0C570C
square
#0C3257 #570C57 #57310C #0C570C
split-complementary
#0C3257 #570C0C #57570C
monochromatic
#040F1B #051321 #0C3257 #13518D #1B70C3

Accessibility & contrast

On white

13.05
#0C3257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#0C3257 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3257
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3257#FFFFFF#000000##FFFFFF
##0C32571.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203458
Deuteranopia (green-blind)
#142E56
Tritanopia (blue-blind)
#003B40
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0c3257;
/* rgb */ color: rgb(12, 50, 87);
/* oklch */ color: oklch(31.2% 0.079 251.5);
Tailwind
colors: {
  custom: {
    50: '#596986',
    500: '#0c3257',
    950: '#000000',
  },
}
SCSS
$custom: #0c3257;
$custom-light: #596986;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3257",
  "rgb": {
    "r": 12,
    "g": 50,
    "b": 87
  },
  "hsl": {
    "h": 209.6,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.31248,
    "c": 0.0785,
    "h": 251.5
  },
  "luminance": 0.03047
}

Semantic roles & 50–950 ramp

primary
#0C3257
secondary
#925F2D
accent
#9335F2
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #0C3257

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

Preview Lab → · Contrast checker → · Palette generator →

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