#0C2D53#0C2D53

#0C2D53 is a dark, moderate cyan. Relative luminance 0.026; OKLCH L 29.6% C 0.079 H 254.5°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#0C2D53
RGBrgb(12, 45, 83)
HSLhsl(212, 75%, 19%)
HSVhsv(212, 86%, 33%)
CMYKcmyk(85.5%, 45.8%, 0%, 67.5%)
CIE-LABlab(18.27, 3.90, -26.52)
CIE-LCHlch(18.27, 26.81, 278.37°)
OKLaboklab(29.63% -0.021 -0.0759)
OKLCHoklch(29.63% 0.079 254.5)
XYZxyz(2.6508, 2.5792, 8.5401)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2D53 #53320C
analogous
#0C5053 #0C2D53 #0E0C53
triadic
#0C2D53 #530C2D #2D530C
tetradic
#0C2D53 #530C50 #53320C #0C530E
square
#0C2D53 #530C50 #53320C #0C530E
split-complementary
#0C2D53 #530E0C #50530C
monochromatic
#040E1B #04101E #0C2D53 #144A88 #1B67BE

Accessibility & contrast

On white

13.85
#0C2D53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#0C2D53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2D53
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2D53#FFFFFF#000000##FFFFFF
##0C2D531.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3054
Deuteranopia (green-blind)
#0E2A52
Tritanopia (blue-blind)
#00363B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0c2d53;
/* rgb */ color: rgb(12, 45, 83);
/* oklch */ color: oklch(29.6% 0.079 254.5);
Tailwind
colors: {
  custom: {
    50: '#586583',
    500: '#0c2d53',
    950: '#000000',
  },
}
SCSS
$custom: #0c2d53;
$custom-light: #586583;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2d53",
  "rgb": {
    "r": 12,
    "g": 45,
    "b": 83
  },
  "hsl": {
    "h": 212.113,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29634,
    "c": 0.07876,
    "h": 254.5
  },
  "luminance": 0.02579
}

Semantic roles & 50–950 ramp

primary
#0C2D53
secondary
#8E612D
accent
#9A36F1
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C

Preview Lab

Preview with #0C2D53

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

Preview Lab → · Contrast checker → · Palette generator →

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