#0C2356#0C2356

#0C2356 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.4% C 0.097 H 263.2°. Best body text is #FFFFFF at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#0C2356
RGBrgb(12, 35, 86)
HSLhsl(221, 76%, 19%)
HSVhsv(221, 86%, 34%)
CMYKcmyk(86%, 59.3%, 0%, 66.3%)
CIE-LABlab(15.23, 12.71, -33.44)
CIE-LCHlch(15.23, 35.77, 290.81°)
OKLaboklab(27.37% -0.0115 -0.0965)
OKLCHoklch(27.37% 0.097 263.2)
XYZxyz(2.4318, 1.9518, 9.0509)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2356 #563F0C
analogous
#0C4856 #0C2356 #1A0C56
triadic
#0C2356 #560C23 #23560C
tetradic
#0C2356 #560C48 #563F0C #0C561A
square
#0C2356 #560C48 #563F0C #0C561A
split-complementary
#0C2356 #561A0C #48560C
monochromatic
#040B1B #050D20 #0C2356 #13398C #1B4FC1

Accessibility & contrast

On white

15.10
#0C2356 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#0C2356 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2356
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2356#FFFFFF#000000##FFFFFF
##0C23561.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A58
Deuteranopia (green-blind)
#002355
Tritanopia (blue-blind)
#003038
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0c2356;
/* rgb */ color: rgb(12, 35, 86);
/* oklch */ color: oklch(27.4% 0.097 263.2);
Tailwind
colors: {
  custom: {
    50: '#595d86',
    500: '#0c2356',
    950: '#000000',
  },
}
SCSS
$custom: #0c2356;
$custom-light: #595d86;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2356",
  "rgb": {
    "r": 12,
    "g": 35,
    "b": 86
  },
  "hsl": {
    "h": 221.351,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.27373,
    "c": 0.09715,
    "h": 263.2
  },
  "luminance": 0.01952
}

Semantic roles & 50–950 ramp

primary
#0C2356
secondary
#91722D
accent
#B836F2
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0C2356

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

Preview Lab → · Contrast checker → · Palette generator →

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