#0C2C53#0C2C53

#0C2C53 is a dark, moderate cyan. Relative luminance 0.025; OKLCH L 29.4% C 0.080 H 255.5°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#0C2C53
RGBrgb(12, 44, 83)
HSLhsl(213, 75%, 19%)
HSVhsv(213, 86%, 33%)
CMYKcmyk(85.5%, 47%, 0%, 67.5%)
CIE-LABlab(17.94, 4.63, -27.06)
CIE-LCHlch(17.94, 27.45, 279.71°)
OKLaboklab(29.37% -0.0201 -0.0775)
OKLCHoklch(29.37% 0.08 255.5)
XYZxyz(2.6131, 2.5038, 8.5275)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2C53 #53330C
analogous
#0C4F53 #0C2C53 #0F0C53
triadic
#0C2C53 #530C2C #2C530C
tetradic
#0C2C53 #530C4F #53330C #0C530F
square
#0C2C53 #530C4F #53330C #0C530F
split-complementary
#0C2C53 #530F0C #4F530C
monochromatic
#040E1B #04101E #0C2C53 #144888 #1B65BE

Accessibility & contrast

On white

13.99
#0C2C53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#0C2C53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2C53
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2C53#FFFFFF#000000##FFFFFF
##0C2C531.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182F55
Deuteranopia (green-blind)
#0B2952
Tritanopia (blue-blind)
#00353B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0c2c53;
/* rgb */ color: rgb(12, 44, 83);
/* oklch */ color: oklch(29.4% 0.080 255.5);
Tailwind
colors: {
  custom: {
    50: '#586483',
    500: '#0c2c53',
    950: '#000000',
  },
}
SCSS
$custom: #0c2c53;
$custom-light: #586483;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2c53",
  "rgb": {
    "r": 12,
    "g": 44,
    "b": 83
  },
  "hsl": {
    "h": 212.958,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29372,
    "c": 0.08006,
    "h": 255.5
  },
  "luminance": 0.02504
}

Semantic roles & 50–950 ramp

primary
#0C2C53
secondary
#8E622D
accent
#9D36F1
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0C2C53

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

Preview Lab → · Contrast checker → · Palette generator →

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