#0C2B48#0C2B48

#0C2B48 is a dark, moderate cyan. Relative luminance 0.023; OKLCH L 28.3% C 0.065 H 250.0°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#0C2B48
RGBrgb(12, 43, 72)
HSLhsl(209, 71%, 16%)
HSVhsv(209, 83%, 28%)
CMYKcmyk(83.3%, 40.3%, 0%, 71.8%)
CIE-LABlab(16.86, 0.52, -21.32)
CIE-LCHlch(16.86, 21.33, 271.40°)
OKLaboklab(28.3% -0.0221 -0.0607)
OKLCHoklch(28.3% 0.065 250)
XYZxyz(2.1848, 2.2735, 6.4533)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2B48 #48290C
analogous
#0C4847 #0C2B48 #0C0D48
triadic
#0C2B48 #480C2B #2B480C
tetradic
#0C2B48 #470C48 #48290C #0D480C
square
#0C2B48 #470C48 #48290C #0D480C
split-complementary
#0C2B48 #480C0D #48470C
monochromatic
#04101A #04101A #0C2B48 #154A7C #1D6AB1

Accessibility & contrast

On white

14.43
#0C2B48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2B48
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2B48#FFFFFF#000000##FFFFFF
##0C2B481.0014.431.4514.43
#FFFFFF14.431.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2D49
Deuteranopia (green-blind)
#152747
Tritanopia (blue-blind)
#003236
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0c2b48;
/* rgb */ color: rgb(12, 43, 72);
/* oklch */ color: oklch(28.3% 0.065 250.0);
Tailwind
colors: {
  custom: {
    50: '#55647b',
    500: '#0c2b48',
    950: '#000000',
  },
}
SCSS
$custom: #0c2b48;
$custom-light: #55647b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2b48",
  "rgb": {
    "r": 12,
    "g": 43,
    "b": 72
  },
  "hsl": {
    "h": 209,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.28298,
    "c": 0.06456,
    "h": 250
  },
  "luminance": 0.02274
}

Semantic roles & 50–950 ramp

primary
#0C2B48
secondary
#84562C
accent
#913AEE
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#030509
muted
#78797B

Preview Lab

Preview with #0C2B48

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

Preview Lab → · Contrast checker → · Palette generator →

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