#0C3057#0C3057

#0C3057 is a dark, moderate cyan. Relative luminance 0.029; OKLCH L 30.7% C 0.081 H 253.5°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#0C3057
RGBrgb(12, 48, 87)
HSLhsl(211, 76%, 19%)
HSVhsv(211, 86%, 34%)
CMYKcmyk(86.2%, 44.8%, 0%, 65.9%)
CIE-LABlab(19.56, 3.49, -27.14)
CIE-LCHlch(19.56, 27.36, 277.32°)
OKLaboklab(30.72% -0.023 -0.0776)
OKLCHoklch(30.72% 0.081 253.5)
XYZxyz(2.9282, 2.8798, 9.4165)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3057 #57330C
analogous
#0C5657 #0C3057 #0D0C57
triadic
#0C3057 #570C30 #30570C
tetradic
#0C3057 #570C56 #57330C #0C570D
square
#0C3057 #570C56 #57330C #0C570D
split-complementary
#0C3057 #570D0C #56570C
monochromatic
#040F1B #051221 #0C3057 #134E8D #1B6BC3

Accessibility & contrast

On white

13.32
#0C3057 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#0C3057 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3057
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3057#FFFFFF#000000##FFFFFF
##0C30571.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3359
Deuteranopia (green-blind)
#102C56
Tritanopia (blue-blind)
#00393F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0c3057;
/* rgb */ color: rgb(12, 48, 87);
/* oklch */ color: oklch(30.7% 0.081 253.5);
Tailwind
colors: {
  custom: {
    50: '#596786',
    500: '#0c3057',
    950: '#000000',
  },
}
SCSS
$custom: #0c3057;
$custom-light: #596786;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3057",
  "rgb": {
    "r": 12,
    "g": 48,
    "b": 87
  },
  "hsl": {
    "h": 211.2,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30721,
    "c": 0.08097,
    "h": 253.5
  },
  "luminance": 0.0288
}

Semantic roles & 50–950 ramp

primary
#0C3057
secondary
#92612D
accent
#9835F2
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #0C3057

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

Preview Lab → · Contrast checker → · Palette generator →

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