#0C1653#0C1653

#0C1653 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.2% C 0.110 H 268.7°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#0C1653
RGBrgb(12, 22, 83)
HSLhsl(232, 75%, 19%)
HSVhsv(232, 86%, 33%)
CMYKcmyk(85.5%, 73.5%, 0%, 67.5%)
CIE-LABlab(11.11, 21.17, -38.14)
CIE-LCHlch(11.11, 43.62, 299.04°)
OKLaboklab(24.22% -0.0025 -0.1104)
OKLCHoklch(24.22% 0.11 268.7)
XYZxyz(1.9993, 1.2763, 8.3229)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C1653 #53490C
analogous
#0C3953 #0C1653 #250C53
triadic
#0C1653 #530C16 #16530C
tetradic
#0C1653 #530C39 #53490C #0C5325
square
#0C1653 #530C39 #53490C #0C5325
split-complementary
#0C1653 #53250C #39530C
monochromatic
#04071B #04081E #0C1653 #142488 #1B32BE

Accessibility & contrast

On white

16.73
#0C1653 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C1653
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C1653#FFFFFF#000000##FFFFFF
##0C16531.0016.731.2616.73
#FFFFFF16.731.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002155
Deuteranopia (green-blind)
#001A52
Tritanopia (blue-blind)
#002732
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0c1653;
/* rgb */ color: rgb(12, 22, 83);
/* oklch */ color: oklch(24.2% 0.110 268.7);
Tailwind
colors: {
  custom: {
    50: '#595384',
    500: '#0c1653',
    950: '#000000',
  },
}
SCSS
$custom: #0c1653;
$custom-light: #595384;
$custom-dark: #000000;
JSON
{
  "hex": "#0c1653",
  "rgb": {
    "r": 12,
    "g": 22,
    "b": 83
  },
  "hsl": {
    "h": 231.549,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.24218,
    "c": 0.11046,
    "h": 268.7
  },
  "luminance": 0.01277
}

Semantic roles & 50–950 ramp

primary
#0C1653
secondary
#8E802D
accent
#D736F1
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #0C1653

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

Preview Lab → · Contrast checker → · Palette generator →

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