#0C2A53#0C2A53

#0C2A53 is a dark, moderate cyan. Relative luminance 0.024; OKLCH L 28.9% C 0.083 H 257.3°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#0C2A53
RGBrgb(12, 42, 83)
HSLhsl(215, 75%, 19%)
HSVhsv(215, 86%, 33%)
CMYKcmyk(85.5%, 49.4%, 0%, 67.5%)
CIE-LABlab(17.27, 6.11, -28.13)
CIE-LCHlch(17.27, 28.79, 282.25°)
OKLaboklab(28.85% -0.0181 -0.0807)
OKLCHoklch(28.85% 0.083 257.3)
XYZxyz(2.5403, 2.3583, 8.5033)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2A53 #53350C
analogous
#0C4D53 #0C2A53 #110C53
triadic
#0C2A53 #530C2A #2A530C
tetradic
#0C2A53 #530C4D #53350C #0C5311
square
#0C2A53 #530C4D #53350C #0C5311
split-complementary
#0C2A53 #53110C #4D530C
monochromatic
#040E1B #040F1E #0C2A53 #144588 #1B60BE

Accessibility & contrast

On white

14.27
#0C2A53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#0C2A53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2A53
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2A53#FFFFFF#000000##FFFFFF
##0C2A531.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142E55
Deuteranopia (green-blind)
#052752
Tritanopia (blue-blind)
#00343A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0c2a53;
/* rgb */ color: rgb(12, 42, 83);
/* oklch */ color: oklch(28.9% 0.083 257.3);
Tailwind
colors: {
  custom: {
    50: '#586384',
    500: '#0c2a53',
    950: '#000000',
  },
}
SCSS
$custom: #0c2a53;
$custom-light: #586384;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2a53",
  "rgb": {
    "r": 12,
    "g": 42,
    "b": 83
  },
  "hsl": {
    "h": 214.648,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28853,
    "c": 0.08272,
    "h": 257.3
  },
  "luminance": 0.02359
}

Semantic roles & 50–950 ramp

primary
#0C2A53
secondary
#8E652D
accent
#A236F1
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0C2A53

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

Preview Lab → · Contrast checker → · Palette generator →

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