#0C2053#0C2053

#0C2053 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.4% C 0.097 H 264.4°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#0C2053
RGBrgb(12, 32, 83)
HSLhsl(223, 75%, 19%)
HSVhsv(223, 86%, 33%)
CMYKcmyk(85.5%, 61.4%, 0%, 67.5%)
CIE-LABlab(14.03, 13.66, -33.36)
CIE-LCHlch(14.03, 36.05, 292.27°)
OKLaboklab(26.39% -0.0094 -0.0963)
OKLCHoklch(26.39% 0.097 264.4)
XYZxyz(2.2289, 1.7355, 8.3994)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2053 #533F0C
analogous
#0C4353 #0C2053 #1B0C53
triadic
#0C2053 #530C20 #20530C
tetradic
#0C2053 #530C43 #533F0C #0C531B
square
#0C2053 #530C43 #533F0C #0C531B
split-complementary
#0C2053 #531B0C #43530C
monochromatic
#040A1B #040B1E #0C2053 #143588 #1B49BE

Accessibility & contrast

On white

15.59
#0C2053 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#0C2053 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2053
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2053#FFFFFF#000000##FFFFFF
##0C20531.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002755
Deuteranopia (green-blind)
#002152
Tritanopia (blue-blind)
#002D36
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0c2053;
/* rgb */ color: rgb(12, 32, 83);
/* oklch */ color: oklch(26.4% 0.097 264.4);
Tailwind
colors: {
  custom: {
    50: '#585a84',
    500: '#0c2053',
    950: '#000000',
  },
}
SCSS
$custom: #0c2053;
$custom-light: #585a84;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2053",
  "rgb": {
    "r": 12,
    "g": 32,
    "b": 83
  },
  "hsl": {
    "h": 223.099,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.26385,
    "c": 0.09675,
    "h": 264.4
  },
  "luminance": 0.01736
}

Semantic roles & 50–950 ramp

primary
#0C2053
secondary
#8E732D
accent
#BD36F1
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0C2053

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

Preview Lab → · Contrast checker → · Palette generator →

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