#0C1E55#0C1E55

#0C1E55 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.1% C 0.103 H 265.7°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#0C1E55
RGBrgb(12, 30, 85)
HSLhsl(225, 75%, 19%)
HSVhsv(225, 86%, 33%)
CMYKcmyk(85.9%, 64.7%, 0%, 66.7%)
CIE-LABlab(13.60, 16.07, -35.41)
CIE-LCHlch(13.60, 38.88, 294.40°)
OKLaboklab(26.12% -0.0078 -0.1023)
OKLCHoklch(26.12% 0.103 265.7)
XYZxyz(2.2550, 1.6623, 8.7946)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C1E55 #55430C
analogous
#0C4355 #0C1E55 #1E0C55
triadic
#0C1E55 #550C1E #1E550C
tetradic
#0C1E55 #550C43 #55430C #0C551E
square
#0C1E55 #550C43 #55430C #0C551E
split-complementary
#0C1E55 #551E0C #43550C
monochromatic
#04091B #040B1F #0C1E55 #14318B #1B44C0

Accessibility & contrast

On white

15.76
#0C1E55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C1E55
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C1E55#FFFFFF#000000##FFFFFF
##0C1E551.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002657
Deuteranopia (green-blind)
#001F54
Tritanopia (blue-blind)
#002C36
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0c1e55;
/* rgb */ color: rgb(12, 30, 85);
/* oklch */ color: oklch(26.1% 0.103 265.7);
Tailwind
colors: {
  custom: {
    50: '#595985',
    500: '#0c1e55',
    950: '#000000',
  },
}
SCSS
$custom: #0c1e55;
$custom-light: #595985;
$custom-dark: #000000;
JSON
{
  "hex": "#0c1e55",
  "rgb": {
    "r": 12,
    "g": 30,
    "b": 85
  },
  "hsl": {
    "h": 225.205,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.26122,
    "c": 0.10264,
    "h": 265.7
  },
  "luminance": 0.01663
}

Semantic roles & 50–950 ramp

primary
#0C1E55
secondary
#90782D
accent
#C436F2
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #0C1E55

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

Preview Lab → · Contrast checker → · Palette generator →

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