#0C2B54#0C2B54

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

Color values

HEX#0C2B54
RGBrgb(12, 43, 84)
HSLhsl(214, 75%, 19%)
HSVhsv(214, 86%, 33%)
CMYKcmyk(85.7%, 48.8%, 0%, 67.1%)
CIE-LABlab(17.67, 5.81, -28.15)
CIE-LCHlch(17.67, 28.75, 281.66°)
OKLaboklab(29.19% -0.0189 -0.0807)
OKLCHoklch(29.19% 0.083 256.8)
XYZxyz(2.6151, 2.4457, 8.7200)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2B54 #54350C
analogous
#0C4F54 #0C2B54 #110C54
triadic
#0C2B54 #540C2B #2B540C
tetradic
#0C2B54 #540C4F #54350C #0C5411
square
#0C2B54 #540C4F #54350C #0C5411
split-complementary
#0C2B54 #54110C #4F540C
monochromatic
#040E1B #04101E #0C2B54 #14468A #1B62BF

Accessibility & contrast

On white

14.10
#0C2B54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2B54
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2B54#FFFFFF#000000##FFFFFF
##0C2B541.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162F56
Deuteranopia (green-blind)
#062853
Tritanopia (blue-blind)
#00353B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0c2b54;
/* rgb */ color: rgb(12, 43, 84);
/* oklch */ color: oklch(29.2% 0.083 256.8);
Tailwind
colors: {
  custom: {
    50: '#586384',
    500: '#0c2b54',
    950: '#000000',
  },
}
SCSS
$custom: #0c2b54;
$custom-light: #586384;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2b54",
  "rgb": {
    "r": 12,
    "g": 43,
    "b": 84
  },
  "hsl": {
    "h": 214.167,
    "s": 75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.2919,
    "c": 0.08292,
    "h": 256.8
  },
  "luminance": 0.02446
}

Semantic roles & 50–950 ramp

primary
#0C2B54
secondary
#8F652D
accent
#A136F2
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0C2B54

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

Preview Lab → · Contrast checker → · Palette generator →

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