#0C0F43#0C0F43

#0C0F43 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.0% C 0.096 H 272.2°. Best body text is #FFFFFF at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#0C0F43
RGBrgb(12, 15, 67)
HSLhsl(237, 70%, 15%)
HSVhsv(237, 82%, 26%)
CMYKcmyk(82.1%, 77.6%, 0%, 73.7%)
CIE-LABlab(7.45, 19.56, -33.04)
CIE-LCHlch(7.45, 38.40, 300.63°)
OKLaboklab(21.02% 0.0037 -0.0956)
OKLCHoklch(21.02% 0.096 272.2)
XYZxyz(1.3352, 0.8249, 5.3980)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0F43 #43400C
analogous
#0C2A43 #0C0F43 #240C43
triadic
#0C0F43 #430C0F #0F430C
tetradic
#0C0F43 #430C2A #43400C #0C4324
square
#0C0F43 #430C2A #43400C #0C4324
split-complementary
#0C0F43 #43240C #2A430C
monochromatic
#05061A #05061A #0C0F43 #151B77 #1F26AB

Accessibility & contrast

On white

18.03
#0C0F43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#0C0F43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C0F43
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0F43#FFFFFF#000000##FFFFFF
##0C0F431.0018.031.1718.03
#FFFFFF18.031.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001945
Deuteranopia (green-blind)
#001442
Tritanopia (blue-blind)
#001D27
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0c0f43;
/* rgb */ color: rgb(12, 15, 67);
/* oklch */ color: oklch(21.0% 0.096 272.2);
Tailwind
colors: {
  custom: {
    50: '#554d78',
    500: '#0c0f43',
    950: '#000000',
  },
}
SCSS
$custom: #0c0f43;
$custom-light: #554d78;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0f43",
  "rgb": {
    "r": 12,
    "g": 15,
    "b": 67
  },
  "hsl": {
    "h": 236.727,
    "s": 69.62,
    "l": 15.49
  },
  "oklch": {
    "l": 0.21015,
    "c": 0.09569,
    "h": 272.2
  },
  "luminance": 0.00825
}

Semantic roles & 50–950 ramp

primary
#0C0F43
secondary
#7F7A2C
accent
#E33BEC
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0C0F43

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

Preview Lab → · Contrast checker → · Palette generator →

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