#0C1753#0C1753

#0C1753 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.4% C 0.109 H 268.4°. Best body text is #FFFFFF at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#0C1753
RGBrgb(12, 23, 83)
HSLhsl(231, 75%, 19%)
HSVhsv(231, 86%, 33%)
CMYKcmyk(85.5%, 72.3%, 0%, 67.5%)
CIE-LABlab(11.38, 20.44, -37.69)
CIE-LCHlch(11.38, 42.88, 298.48°)
OKLaboklab(24.42% -0.0031 -0.1091)
OKLCHoklch(24.42% 0.109 268.4)
XYZxyz(2.0188, 1.3153, 8.3294)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C1753 #53480C
analogous
#0C3A53 #0C1753 #240C53
triadic
#0C1753 #530C17 #17530C
tetradic
#0C1753 #530C3A #53480C #0C5324
square
#0C1753 #530C3A #53480C #0C5324
split-complementary
#0C1753 #53240C #3A530C
monochromatic
#04071B #04081E #0C1753 #142688 #1B35BE

Accessibility & contrast

On white

16.63
#0C1753 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C1753
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C1753#FFFFFF#000000##FFFFFF
##0C17531.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c1753;
/* rgb */ color: rgb(12, 23, 83);
/* oklch */ color: oklch(24.4% 0.109 268.4);
Tailwind
colors: {
  custom: {
    50: '#595484',
    500: '#0c1753',
    950: '#000000',
  },
}
SCSS
$custom: #0c1753;
$custom-light: #595484;
$custom-dark: #000000;
JSON
{
  "hex": "#0c1753",
  "rgb": {
    "r": 12,
    "g": 23,
    "b": 83
  },
  "hsl": {
    "h": 230.704,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.24417,
    "c": 0.10916,
    "h": 268.4
  },
  "luminance": 0.01315
}

Semantic roles & 50–950 ramp

primary
#0C1753
secondary
#8E7F2D
accent
#D436F1
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #0C1753

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

Preview Lab → · Contrast checker → · Palette generator →

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