#0C0E55#0C0E55

#0C0E55 is a very dark, vivid blue. Relative luminance 0.010; OKLCH L 23.1% C 0.123 H 270.4°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#0C0E55
RGBrgb(12, 14, 85)
HSLhsl(238, 75%, 19%)
HSVhsv(238, 86%, 33%)
CMYKcmyk(85.9%, 83.5%, 0%, 66.7%)
CIE-LABlab(9.38, 27.41, -42.35)
CIE-LCHlch(9.38, 50.45, 302.91°)
OKLaboklab(23.05% 0.001 -0.1226)
OKLCHoklch(23.05% 0.123 270.4)
XYZxyz(1.9478, 1.0479, 8.6922)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0E55 #55530C
analogous
#0C3355 #0C0E55 #2F0C55
triadic
#0C0E55 #550C0E #0E550C
tetradic
#0C0E55 #550C33 #55530C #0C552F
square
#0C0E55 #550C33 #55530C #0C552F
split-complementary
#0C0E55 #552F0C #33550C
monochromatic
#04041B #04051F #0C0E55 #14178B #1B20C0

Accessibility & contrast

On white

17.36
#0C0E55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#0C0E55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C0E55
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0E55#FFFFFF#000000##FFFFFF
##0C0E551.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E57
Deuteranopia (green-blind)
#001654
Tritanopia (blue-blind)
#002331
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0c0e55;
/* rgb */ color: rgb(12, 14, 85);
/* oklch */ color: oklch(23.1% 0.123 270.4);
Tailwind
colors: {
  custom: {
    50: '#5b4d86',
    500: '#0c0e55',
    950: '#000000',
  },
}
SCSS
$custom: #0c0e55;
$custom-light: #5b4d86;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0e55",
  "rgb": {
    "r": 12,
    "g": 14,
    "b": 85
  },
  "hsl": {
    "h": 238.356,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.23052,
    "c": 0.12265,
    "h": 270.4
  },
  "luminance": 0.01048
}

Semantic roles & 50–950 ramp

primary
#0C0E55
secondary
#908D2D
accent
#ED36F2
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #0C0E55

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

Preview Lab → · Contrast checker → · Palette generator →

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