#0C3153#0C3153

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

Color values

HEX#0C3153
RGBrgb(12, 49, 83)
HSLhsl(209, 75%, 19%)
HSVhsv(209, 86%, 33%)
CMYKcmyk(85.5%, 41%, 0%, 67.5%)
CIE-LABlab(19.63, 1.02, -24.35)
CIE-LCHlch(19.63, 24.37, 272.40°)
OKLaboklab(30.7% -0.0251 -0.0694)
OKLCHoklch(30.7% 0.074 250.1)
XYZxyz(2.8107, 2.8990, 8.5934)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3153 #532E0C
analogous
#0C5351 #0C3153 #0C0E53
triadic
#0C3153 #530C31 #31530C
tetradic
#0C3153 #510C53 #532E0C #0E530C
square
#0C3153 #510C53 #532E0C #0E530C
split-complementary
#0C3153 #530C0E #53510C
monochromatic
#04101B #04111E #0C3153 #145188 #1B70BE

Accessibility & contrast

On white

13.29
#0C3153 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C3153
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3153#FFFFFF#000000##FFFFFF
##0C31531.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213354
Deuteranopia (green-blind)
#162D52
Tritanopia (blue-blind)
#00393E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0c3153;
/* rgb */ color: rgb(12, 49, 83);
/* oklch */ color: oklch(30.7% 0.074 250.1);
Tailwind
colors: {
  custom: {
    50: '#586883',
    500: '#0c3153',
    950: '#000000',
  },
}
SCSS
$custom: #0c3153;
$custom-light: #586883;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3153",
  "rgb": {
    "r": 12,
    "g": 49,
    "b": 83
  },
  "hsl": {
    "h": 208.732,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30697,
    "c": 0.07383,
    "h": 250.1
  },
  "luminance": 0.02899
}

Semantic roles & 50–950 ramp

primary
#0C3153
secondary
#8E5B2D
accent
#9036F1
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060A
muted
#797A7C

Preview Lab

Preview with #0C3153

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

Preview Lab → · Contrast checker → · Palette generator →

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