#0C1355#0C1355

#0C1355 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.9% C 0.117 H 269.4°. Best body text is #FFFFFF at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#0C1355
RGBrgb(12, 19, 85)
HSLhsl(234, 75%, 19%)
HSVhsv(234, 86%, 33%)
CMYKcmyk(85.9%, 77.6%, 0%, 66.7%)
CIE-LABlab(10.55, 24.12, -40.42)
CIE-LCHlch(10.55, 47.07, 300.83°)
OKLaboklab(23.89% -0.0011 -0.1171)
OKLCHoklch(23.89% 0.117 269.4)
XYZxyz(2.0236, 1.1996, 8.7175)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C1355 #554E0C
analogous
#0C3855 #0C1355 #2A0C55
triadic
#0C1355 #550C13 #13550C
tetradic
#0C1355 #550C38 #554E0C #0C552A
square
#0C1355 #550C38 #554E0C #0C552A
split-complementary
#0C1355 #552A0C #38550C
monochromatic
#04061B #04071F #0C1355 #141F8B #1B2BC0

Accessibility & contrast

On white

16.94
#0C1355 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C1355
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C1355#FFFFFF#000000##FFFFFF
##0C13551.0016.941.2416.94
#FFFFFF16.941.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002057
Deuteranopia (green-blind)
#001954
Tritanopia (blue-blind)
#002632
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0c1355;
/* rgb */ color: rgb(12, 19, 85);
/* oklch */ color: oklch(23.9% 0.117 269.4);
Tailwind
colors: {
  custom: {
    50: '#5a5186',
    500: '#0c1355',
    950: '#000000',
  },
}
SCSS
$custom: #0c1355;
$custom-light: #5a5186;
$custom-dark: #000000;
JSON
{
  "hex": "#0c1355",
  "rgb": {
    "r": 12,
    "g": 19,
    "b": 85
  },
  "hsl": {
    "h": 234.247,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.23885,
    "c": 0.11708,
    "h": 269.4
  },
  "luminance": 0.012
}

Semantic roles & 50–950 ramp

primary
#0C1355
secondary
#90872D
accent
#E036F2
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #0C1355

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

Preview Lab → · Contrast checker → · Palette generator →

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