#0C2953#0C2953

#0C2953 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.6% C 0.084 H 258.2°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#0C2953
RGBrgb(12, 41, 83)
HSLhsl(215, 75%, 19%)
HSVhsv(215, 86%, 33%)
CMYKcmyk(85.5%, 50.6%, 0%, 67.5%)
CIE-LABlab(16.93, 6.85, -28.67)
CIE-LCHlch(16.93, 29.48, 283.44°)
OKLaboklab(28.6% -0.0172 -0.0823)
OKLCHoklch(28.6% 0.084 258.2)
XYZxyz(2.5053, 2.2883, 8.4916)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2953 #53360C
analogous
#0C4C53 #0C2953 #120C53
triadic
#0C2953 #530C29 #29530C
tetradic
#0C2953 #530C4C #53360C #0C5312
square
#0C2953 #530C4C #53360C #0C5312
split-complementary
#0C2953 #53120C #4C530C
monochromatic
#040D1B #040F1E #0C2953 #144388 #1B5EBE

Accessibility & contrast

On white

14.41
#0C2953 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0C2953 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2953
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2953#FFFFFF#000000##FFFFFF
##0C29531.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122D55
Deuteranopia (green-blind)
#022752
Tritanopia (blue-blind)
#00333A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0c2953;
/* rgb */ color: rgb(12, 41, 83);
/* oklch */ color: oklch(28.6% 0.084 258.2);
Tailwind
colors: {
  custom: {
    50: '#586284',
    500: '#0c2953',
    950: '#000000',
  },
}
SCSS
$custom: #0c2953;
$custom-light: #586284;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2953",
  "rgb": {
    "r": 12,
    "g": 41,
    "b": 83
  },
  "hsl": {
    "h": 215.493,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28596,
    "c": 0.08408,
    "h": 258.2
  },
  "luminance": 0.02289
}

Semantic roles & 50–950 ramp

primary
#0C2953
secondary
#8E662D
accent
#A536F1
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0C2953

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

Preview Lab → · Contrast checker → · Palette generator →

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