#0C2B53#0C2B53

#0C2B53 is a dark, moderate cyan. Relative luminance 0.024; OKLCH L 29.1% C 0.081 H 256.4°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#0C2B53
RGBrgb(12, 43, 83)
HSLhsl(214, 75%, 19%)
HSVhsv(214, 86%, 33%)
CMYKcmyk(85.5%, 48.2%, 0%, 67.5%)
CIE-LABlab(17.60, 5.37, -27.60)
CIE-LCHlch(17.60, 28.12, 281.01°)
OKLaboklab(29.11% -0.0191 -0.0791)
OKLCHoklch(29.11% 0.081 256.4)
XYZxyz(2.5763, 2.4301, 8.5152)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2B53 #53340C
analogous
#0C4E53 #0C2B53 #100C53
triadic
#0C2B53 #530C2B #2B530C
tetradic
#0C2B53 #530C4E #53340C #0C5310
square
#0C2B53 #530C4E #53340C #0C5310
split-complementary
#0C2B53 #53100C #4E530C
monochromatic
#040E1B #040F1E #0C2B53 #144788 #1B62BE

Accessibility & contrast

On white

14.13
#0C2B53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#0C2B53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2B53
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2B53#FFFFFF#000000##FFFFFF
##0C2B531.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162F55
Deuteranopia (green-blind)
#082852
Tritanopia (blue-blind)
#00343A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0c2b53;
/* rgb */ color: rgb(12, 43, 83);
/* oklch */ color: oklch(29.1% 0.081 256.4);
Tailwind
colors: {
  custom: {
    50: '#586384',
    500: '#0c2b53',
    950: '#000000',
  },
}
SCSS
$custom: #0c2b53;
$custom-light: #586384;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2b53",
  "rgb": {
    "r": 12,
    "g": 43,
    "b": 83
  },
  "hsl": {
    "h": 213.803,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29112,
    "c": 0.08137,
    "h": 256.4
  },
  "luminance": 0.0243
}

Semantic roles & 50–950 ramp

primary
#0C2B53
secondary
#8E642D
accent
#A036F1
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0C2B53

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

Preview Lab → · Contrast checker → · Palette generator →

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