#0C1E53#0C1E53

#0C1E53 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.9% C 0.100 H 265.5°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#0C1E53
RGBrgb(12, 30, 83)
HSLhsl(225, 75%, 19%)
HSVhsv(225, 86%, 33%)
CMYKcmyk(85.5%, 63.9%, 0%, 67.5%)
CIE-LABlab(13.42, 15.19, -34.36)
CIE-LCHlch(13.42, 37.57, 293.85°)
OKLaboklab(25.92% -0.0078 -0.0993)
OKLCHoklch(25.92% 0.1 265.5)
XYZxyz(2.1767, 1.6310, 8.3820)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C1E53 #53410C
analogous
#0C4153 #0C1E53 #1D0C53
triadic
#0C1E53 #530C1E #1E530C
tetradic
#0C1E53 #530C41 #53410C #0C531D
square
#0C1E53 #530C41 #53410C #0C531D
split-complementary
#0C1E53 #531D0C #41530C
monochromatic
#040A1B #040B1E #0C1E53 #143188 #1B45BE

Accessibility & contrast

On white

15.83
#0C1E53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#0C1E53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C1E53
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C1E53#FFFFFF#000000##FFFFFF
##0C1E531.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002655
Deuteranopia (green-blind)
#001F52
Tritanopia (blue-blind)
#002B35
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0c1e53;
/* rgb */ color: rgb(12, 30, 83);
/* oklch */ color: oklch(25.9% 0.100 265.5);
Tailwind
colors: {
  custom: {
    50: '#595984',
    500: '#0c1e53',
    950: '#000000',
  },
}
SCSS
$custom: #0c1e53;
$custom-light: #595984;
$custom-dark: #000000;
JSON
{
  "hex": "#0c1e53",
  "rgb": {
    "r": 12,
    "g": 30,
    "b": 83
  },
  "hsl": {
    "h": 224.789,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.25924,
    "c": 0.09958,
    "h": 265.5
  },
  "luminance": 0.01631
}

Semantic roles & 50–950 ramp

primary
#0C1E53
secondary
#8E752D
accent
#C236F1
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0C1E53

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

Preview Lab → · Contrast checker → · Palette generator →

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