#0C1455#0C1455

#0C1455 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 24.1% C 0.116 H 269.2°. Best body text is #FFFFFF at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#0C1455
RGBrgb(12, 20, 85)
HSLhsl(233, 75%, 19%)
HSVhsv(233, 86%, 33%)
CMYKcmyk(85.9%, 76.5%, 0%, 66.7%)
CIE-LABlab(10.81, 23.43, -40.00)
CIE-LCHlch(10.81, 46.36, 300.36°)
OKLaboklab(24.07% -0.0016 -0.1159)
OKLCHoklch(24.07% 0.116 269.2)
XYZxyz(2.0409, 1.2341, 8.7232)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C1455 #554D0C
analogous
#0C3955 #0C1455 #290C55
triadic
#0C1455 #550C14 #14550C
tetradic
#0C1455 #550C39 #554D0C #0C5529
square
#0C1455 #550C39 #554D0C #0C5529
split-complementary
#0C1455 #55290C #39550C
monochromatic
#04061B #04071F #0C1455 #14218B #1B2DC0

Accessibility & contrast

On white

16.84
#0C1455 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#0C1455 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C1455
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C1455#FFFFFF#000000##FFFFFF
##0C14551.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002157
Deuteranopia (green-blind)
#001A54
Tritanopia (blue-blind)
#002632
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0c1455;
/* rgb */ color: rgb(12, 20, 85);
/* oklch */ color: oklch(24.1% 0.116 269.2);
Tailwind
colors: {
  custom: {
    50: '#5a5186',
    500: '#0c1455',
    950: '#000000',
  },
}
SCSS
$custom: #0c1455;
$custom-light: #5a5186;
$custom-dark: #000000;
JSON
{
  "hex": "#0c1455",
  "rgb": {
    "r": 12,
    "g": 20,
    "b": 85
  },
  "hsl": {
    "h": 233.425,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.24067,
    "c": 0.11587,
    "h": 269.2
  },
  "luminance": 0.01234
}

Semantic roles & 50–950 ramp

primary
#0C1455
secondary
#90852D
accent
#DD36F2
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #0C1455

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

Preview Lab → · Contrast checker → · Palette generator →

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