#0C2B3F#0C2B3F

#0C2B3F is a dark, muted cyan. Relative luminance 0.022; OKLCH L 27.7% C 0.052 H 240.7°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#0C2B3F
RGBrgb(12, 43, 63)
HSLhsl(204, 68%, 15%)
HSVhsv(204, 81%, 25%)
CMYKcmyk(81%, 31.7%, 0%, 75.3%)
CIE-LABlab(16.33, -3.35, -15.97)
CIE-LCHlch(16.33, 16.32, 258.14°)
OKLaboklab(27.7% -0.0253 -0.0451)
OKLCHoklch(27.7% 0.052 240.7)
XYZxyz(1.9124, 2.1646, 5.0187)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2B3F #3F200C
analogous
#0C3F3A #0C2B3F #0C123F
triadic
#0C2B3F #3F0C2B #2B3F0C
tetradic
#0C2B3F #3A0C3F #3F200C #123F0C
square
#0C2B3F #3A0C3F #3F200C #123F0C
split-complementary
#0C2B3F #3F0C12 #3F3A0C
monochromatic
#05121A #05121A #0C2B3F #164E72 #2071A6

Accessibility & contrast

On white

14.65
#0C2B3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#0C2B3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2B3F
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2B3F#FFFFFF#000000##FFFFFF
##0C2B3F1.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222B40
Deuteranopia (green-blind)
#1B263F
Tritanopia (blue-blind)
#003032
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0c2b3f;
/* rgb */ color: rgb(12, 43, 63);
/* oklch */ color: oklch(27.7% 0.052 240.7);
Tailwind
colors: {
  custom: {
    50: '#536474',
    500: '#0c2b3f',
    950: '#000000',
  },
}
SCSS
$custom: #0c2b3f;
$custom-light: #536474;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2b3f",
  "rgb": {
    "r": 12,
    "g": 43,
    "b": 63
  },
  "hsl": {
    "h": 203.529,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.27702,
    "c": 0.05168,
    "h": 240.7
  },
  "luminance": 0.02165
}

Semantic roles & 50–950 ramp

primary
#0C2B3F
secondary
#7B4B2C
accent
#813DEB
background
#F4F5F7
surface
#E7EAED
border
#C3C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #0C2B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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