#0C1655#0C1655

#0C1655 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.4% C 0.113 H 268.6°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#0C1655
RGBrgb(12, 22, 85)
HSLhsl(232, 75%, 19%)
HSVhsv(232, 86%, 33%)
CMYKcmyk(85.9%, 74.1%, 0%, 66.7%)
CIE-LABlab(11.33, 22.01, -39.14)
CIE-LCHlch(11.33, 44.90, 299.35°)
OKLaboklab(24.45% -0.0027 -0.1133)
OKLCHoklch(24.45% 0.113 268.6)
XYZxyz(2.0777, 1.3076, 8.7355)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C1655 #554B0C
analogous
#0C3B55 #0C1655 #270C55
triadic
#0C1655 #550C16 #16550C
tetradic
#0C1655 #550C3B #554B0C #0C5527
square
#0C1655 #550C3B #554B0C #0C5527
split-complementary
#0C1655 #55270C #3B550C
monochromatic
#04071B #04081F #0C1655 #14248B #1B32C0

Accessibility & contrast

On white

16.65
#0C1655 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#0C1655 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C1655
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C1655#FFFFFF#000000##FFFFFF
##0C16551.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002257
Deuteranopia (green-blind)
#001B54
Tritanopia (blue-blind)
#002733
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0c1655;
/* rgb */ color: rgb(12, 22, 85);
/* oklch */ color: oklch(24.4% 0.113 268.6);
Tailwind
colors: {
  custom: {
    50: '#5a5386',
    500: '#0c1655',
    950: '#000000',
  },
}
SCSS
$custom: #0c1655;
$custom-light: #5a5386;
$custom-dark: #000000;
JSON
{
  "hex": "#0c1655",
  "rgb": {
    "r": 12,
    "g": 22,
    "b": 85
  },
  "hsl": {
    "h": 231.781,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.24445,
    "c": 0.11338,
    "h": 268.6
  },
  "luminance": 0.01308
}

Semantic roles & 50–950 ramp

primary
#0C1655
secondary
#90832D
accent
#D836F2
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #0C1655

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

Preview Lab → · Contrast checker → · Palette generator →

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