#0C2350#0C2350

#0C2350 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 26.8% C 0.088 H 262.0°. Best body text is #FFFFFF at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#0C2350
RGBrgb(12, 35, 80)
HSLhsl(220, 74%, 18%)
HSVhsv(220, 85%, 31%)
CMYKcmyk(85%, 56.3%, 0%, 68.6%)
CIE-LABlab(14.73, 10.04, -30.19)
CIE-LCHlch(14.73, 31.81, 288.39°)
OKLaboklab(26.83% -0.0122 -0.0869)
OKLCHoklch(26.83% 0.088 262)
XYZxyz(2.2001, 1.8592, 7.8308)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2350 #50390C
analogous
#0C4550 #0C2350 #170C50
triadic
#0C2350 #500C23 #23500C
tetradic
#0C2350 #500C45 #50390C #0C5017
square
#0C2350 #500C45 #50390C #0C5017
split-complementary
#0C2350 #50170C #45500C
monochromatic
#040C1B #040C1B #0C2350 #143A85 #1C52BA

Accessibility & contrast

On white

15.31
#0C2350 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#0C2350 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2350
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2350#FFFFFF#000000##FFFFFF
##0C23501.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062852
Deuteranopia (green-blind)
#00224F
Tritanopia (blue-blind)
#002E35
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0c2350;
/* rgb */ color: rgb(12, 35, 80);
/* oklch */ color: oklch(26.8% 0.088 262.0);
Tailwind
colors: {
  custom: {
    50: '#575d81',
    500: '#0c2350',
    950: '#000000',
  },
}
SCSS
$custom: #0c2350;
$custom-light: #575d81;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2350",
  "rgb": {
    "r": 12,
    "g": 35,
    "b": 80
  },
  "hsl": {
    "h": 219.706,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.26833,
    "c": 0.08777,
    "h": 262
  },
  "luminance": 0.01859
}

Semantic roles & 50–950 ramp

primary
#0C2350
secondary
#8B6B2C
accent
#B237F1
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #0C2350

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

Preview Lab → · Contrast checker → · Palette generator →

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