#0C3253#0C3253

#0C3253 is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 31.0% C 0.073 H 249.0°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#0C3253
RGBrgb(12, 50, 83)
HSLhsl(208, 75%, 19%)
HSVhsv(208, 86%, 33%)
CMYKcmyk(85.5%, 39.8%, 0%, 67.5%)
CIE-LABlab(19.98, 0.31, -23.80)
CIE-LCHlch(19.98, 23.81, 270.75°)
OKLaboklab(30.97% -0.0261 -0.0678)
OKLCHoklch(30.97% 0.073 249)
XYZxyz(2.8530, 2.9836, 8.6075)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3253 #532D0C
analogous
#0C5350 #0C3253 #0C0E53
triadic
#0C3253 #530C32 #32530C
tetradic
#0C3253 #500C53 #532D0C #0E530C
square
#0C3253 #500C53 #532D0C #0E530C
split-complementary
#0C3253 #530C0E #53500C
monochromatic
#04101B #04121E #0C3253 #145288 #1B72BE

Accessibility & contrast

On white

13.15
#0C3253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#0C3253 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3253
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3253#FFFFFF#000000##FFFFFF
##0C32531.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233454
Deuteranopia (green-blind)
#182D52
Tritanopia (blue-blind)
#003A3E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0c3253;
/* rgb */ color: rgb(12, 50, 83);
/* oklch */ color: oklch(31.0% 0.073 249.0);
Tailwind
colors: {
  custom: {
    50: '#586983',
    500: '#0c3253',
    950: '#000000',
  },
}
SCSS
$custom: #0c3253;
$custom-light: #586983;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3253",
  "rgb": {
    "r": 12,
    "g": 50,
    "b": 83
  },
  "hsl": {
    "h": 207.887,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30967,
    "c": 0.07267,
    "h": 249
  },
  "luminance": 0.02984
}

Semantic roles & 50–950 ramp

primary
#0C3253
secondary
#8E5A2D
accent
#8D36F1
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060A
muted
#797A7C

Preview Lab

Preview with #0C3253

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

Preview Lab → · Contrast checker → · Palette generator →

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