#0C2553#0C2553

#0C2553 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.6% C 0.090 H 261.3°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#0C2553
RGBrgb(12, 37, 83)
HSLhsl(219, 75%, 19%)
HSVhsv(219, 86%, 33%)
CMYKcmyk(85.5%, 55.4%, 0%, 67.5%)
CIE-LABlab(15.62, 9.86, -30.78)
CIE-LCHlch(15.62, 32.32, 287.76°)
OKLaboklab(27.59% -0.0136 -0.0886)
OKLCHoklch(27.59% 0.09 261.3)
XYZxyz(2.3740, 2.0256, 8.4478)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2553 #533A0C
analogous
#0C4853 #0C2553 #160C53
triadic
#0C2553 #530C25 #25530C
tetradic
#0C2553 #530C48 #533A0C #0C5316
square
#0C2553 #530C48 #533A0C #0C5316
split-complementary
#0C2553 #53160C #48530C
monochromatic
#040C1B #040D1E #0C2553 #143D88 #1B55BE

Accessibility & contrast

On white

14.94
#0C2553 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#0C2553 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2553
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2553#FFFFFF#000000##FFFFFF
##0C25531.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082A55
Deuteranopia (green-blind)
#002452
Tritanopia (blue-blind)
#003038
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0c2553;
/* rgb */ color: rgb(12, 37, 83);
/* oklch */ color: oklch(27.6% 0.090 261.3);
Tailwind
colors: {
  custom: {
    50: '#585e84',
    500: '#0c2553',
    950: '#000000',
  },
}
SCSS
$custom: #0c2553;
$custom-light: #585e84;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2553",
  "rgb": {
    "r": 12,
    "g": 37,
    "b": 83
  },
  "hsl": {
    "h": 218.873,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.2759,
    "c": 0.08964,
    "h": 261.3
  },
  "luminance": 0.02026
}

Semantic roles & 50–950 ramp

primary
#0C2553
secondary
#8E6C2D
accent
#B036F1
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0C2553

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

Preview Lab → · Contrast checker → · Palette generator →

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