#0C2E53#0C2E53

#0C2E53 is a dark, moderate cyan. Relative luminance 0.027; OKLCH L 29.9% C 0.077 H 253.5°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#0C2E53
RGBrgb(12, 46, 83)
HSLhsl(211, 75%, 19%)
HSVhsv(211, 86%, 33%)
CMYKcmyk(85.5%, 44.6%, 0%, 67.5%)
CIE-LABlab(18.61, 3.17, -25.98)
CIE-LCHlch(18.61, 26.17, 276.96°)
OKLaboklab(29.9% -0.022 -0.0743)
OKLCHoklch(29.9% 0.077 253.5)
XYZxyz(2.6894, 2.6564, 8.5529)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2E53 #53310C
analogous
#0C5153 #0C2E53 #0E0C53
triadic
#0C2E53 #530C2E #2E530C
tetradic
#0C2E53 #530C51 #53310C #0C530E
square
#0C2E53 #530C51 #53310C #0C530E
split-complementary
#0C2E53 #530E0C #51530C
monochromatic
#040F1B #04101E #0C2E53 #144C88 #1B69BE

Accessibility & contrast

On white

13.71
#0C2E53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#0C2E53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2E53
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2E53#FFFFFF#000000##FFFFFF
##0C2E531.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3154
Deuteranopia (green-blind)
#102A52
Tritanopia (blue-blind)
#00373C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0c2e53;
/* rgb */ color: rgb(12, 46, 83);
/* oklch */ color: oklch(29.9% 0.077 253.5);
Tailwind
colors: {
  custom: {
    50: '#586683',
    500: '#0c2e53',
    950: '#000000',
  },
}
SCSS
$custom: #0c2e53;
$custom-light: #586683;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2e53",
  "rgb": {
    "r": 12,
    "g": 46,
    "b": 83
  },
  "hsl": {
    "h": 211.268,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29898,
    "c": 0.07748,
    "h": 253.5
  },
  "luminance": 0.02657
}

Semantic roles & 50–950 ramp

primary
#0C2E53
secondary
#8E5F2D
accent
#9836F1
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050A
muted
#797A7C

Preview Lab

Preview with #0C2E53

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

Preview Lab → · Contrast checker → · Palette generator →

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