#0C1453#0C1453

#0C1453 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.8% C 0.113 H 269.3°. Best body text is #FFFFFF at 16.93:1 contrast (WCAG AA passes).

Color values

HEX#0C1453
RGBrgb(12, 20, 83)
HSLhsl(233, 75%, 19%)
HSVhsv(233, 86%, 33%)
CMYKcmyk(85.5%, 75.9%, 0%, 67.5%)
CIE-LABlab(10.58, 22.61, -39.01)
CIE-LCHlch(10.58, 45.09, 300.10°)
OKLaboklab(23.83% -0.0014 -0.113)
OKLCHoklch(23.83% 0.113 269.3)
XYZxyz(1.9626, 1.2028, 8.3107)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C1453 #534B0C
analogous
#0C3753 #0C1453 #270C53
triadic
#0C1453 #530C14 #14530C
tetradic
#0C1453 #530C37 #534B0C #0C5327
square
#0C1453 #530C37 #534B0C #0C5327
split-complementary
#0C1453 #53270C #37530C
monochromatic
#04061B #04071E #0C1453 #142188 #1B2EBE

Accessibility & contrast

On white

16.93
#0C1453 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#0C1453 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C1453
16.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C1453#FFFFFF#000000##FFFFFF
##0C14531.0016.931.2416.93
#FFFFFF16.931.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002055
Deuteranopia (green-blind)
#001952
Tritanopia (blue-blind)
#002631
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0c1453;
/* rgb */ color: rgb(12, 20, 83);
/* oklch */ color: oklch(23.8% 0.113 269.3);
Tailwind
colors: {
  custom: {
    50: '#5a5184',
    500: '#0c1453',
    950: '#000000',
  },
}
SCSS
$custom: #0c1453;
$custom-light: #5a5184;
$custom-dark: #000000;
JSON
{
  "hex": "#0c1453",
  "rgb": {
    "r": 12,
    "g": 20,
    "b": 83
  },
  "hsl": {
    "h": 233.239,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.23833,
    "c": 0.113,
    "h": 269.3
  },
  "luminance": 0.01203
}

Semantic roles & 50–950 ramp

primary
#0C1453
secondary
#8E832D
accent
#DC36F1
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #0C1453

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

Preview Lab → · Contrast checker → · Palette generator →

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