#0C2B45#0C2B45

#0C2B45 is a dark, moderate cyan. Relative luminance 0.022; OKLCH L 28.1% C 0.060 H 247.4°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#0C2B45
RGBrgb(12, 43, 69)
HSLhsl(207, 70%, 16%)
HSVhsv(207, 83%, 27%)
CMYKcmyk(82.6%, 37.7%, 0%, 72.9%)
CIE-LABlab(16.68, -0.79, -19.56)
CIE-LCHlch(16.68, 19.57, 267.70°)
OKLaboklab(28.09% -0.0231 -0.0555)
OKLCHoklch(28.09% 0.06 247.4)
XYZxyz(2.0893, 2.2354, 5.9504)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2B45 #45260C
analogous
#0C4542 #0C2B45 #0C0F45
triadic
#0C2B45 #450C2B #2B450C
tetradic
#0C2B45 #420C45 #45260C #0F450C
square
#0C2B45 #420C45 #45260C #0F450C
split-complementary
#0C2B45 #450C0F #45420C
monochromatic
#05101A #05101A #0C2B45 #154B79 #1E6CAD

Accessibility & contrast

On white

14.51
#0C2B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#0C2B45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2B45
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2B45#FFFFFF#000000##FFFFFF
##0C2B451.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2C46
Deuteranopia (green-blind)
#172744
Tritanopia (blue-blind)
#003134
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0c2b45;
/* rgb */ color: rgb(12, 43, 69);
/* oklch */ color: oklch(28.1% 0.060 247.4);
Tailwind
colors: {
  custom: {
    50: '#546479',
    500: '#0c2b45',
    950: '#000000',
  },
}
SCSS
$custom: #0c2b45;
$custom-light: #546479;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2b45",
  "rgb": {
    "r": 12,
    "g": 43,
    "b": 69
  },
  "hsl": {
    "h": 207.368,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.28092,
    "c": 0.06012,
    "h": 247.4
  },
  "luminance": 0.02236
}

Semantic roles & 50–950 ramp

primary
#0C2B45
secondary
#81532C
accent
#8C3BED
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030509
muted
#78797B

Preview Lab

Preview with #0C2B45

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

Preview Lab → · Contrast checker → · Palette generator →

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