#0C0435#0C0435

#0C0435 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.2% C 0.090 H 279.9°. Best body text is #FFFFFF at 19.37:1 contrast (WCAG AA passes).

Color values

HEX#0C0435
RGBrgb(12, 4, 53)
HSLhsl(250, 86%, 11%)
HSVhsv(250, 92%, 21%)
CMYKcmyk(77.4%, 92.5%, 0%, 79.2%)
CIE-LABlab(3.81, 17.87, -28.85)
CIE-LCHlch(3.81, 33.94, 301.78°)
OKLaboklab(17.17% 0.0154 -0.0886)
OKLCHoklch(17.17% 0.09 279.9)
XYZxyz(0.8374, 0.4220, 3.4048)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0435 #2D3504
analogous
#041435 #0C0435 #240435
triadic
#0C0435 #350C04 #04350C
tetradic
#0C0435 #350414 #2D3504 #043524
square
#0C0435 #350414 #2D3504 #043524
split-complementary
#0C0435 #352404 #143504
monochromatic
#06021C #06021C #0C0435 #19086E #260DA7

Accessibility & contrast

On white

19.37
#0C0435 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#0C0435 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C0435
19.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0435#FFFFFF#000000##FFFFFF
##0C04351.0019.371.0819.37
#FFFFFF19.371.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F36
Deuteranopia (green-blind)
#000C34
Tritanopia (blue-blind)
#00121C
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #0c0435;
/* rgb */ color: rgb(12, 4, 53);
/* oklch */ color: oklch(17.2% 0.090 279.9);
Tailwind
colors: {
  custom: {
    50: '#50486d',
    500: '#0c0435',
    950: '#000000',
  },
}
SCSS
$custom: #0c0435;
$custom-light: #50486d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0435",
  "rgb": {
    "r": 12,
    "g": 4,
    "b": 53
  },
  "hsl": {
    "h": 249.796,
    "s": 85.965,
    "l": 11.176
  },
  "oklch": {
    "l": 0.17172,
    "c": 0.08994,
    "h": 279.9
  },
  "luminance": 0.00422
}

Semantic roles & 50–950 ramp

primary
#0C0435
secondary
#69771E
accent
#FC2CDA
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020007
muted
#78777A

Preview Lab

Preview with #0C0435

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

Preview Lab → · Contrast checker → · Palette generator →

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