#0C262E#0C262E

#0C262E is a dark, muted cyan. Relative luminance 0.017; OKLCH L 25.2% C 0.035 H 221.0°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#0C262E
RGBrgb(12, 38, 46)
HSLhsl(194, 59%, 11%)
HSVhsv(194, 74%, 18%)
CMYKcmyk(73.9%, 17.4%, 0%, 82%)
CIE-LABlab(13.60, -6.87, -8.24)
CIE-LCHlch(13.60, 10.73, 230.19°)
OKLaboklab(25.24% -0.0263 -0.0229)
OKLCHoklch(25.24% 0.035 221)
XYZxyz(1.3377, 1.6615, 2.8344)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C262E #2E140C
analogous
#0C2E25 #0C262E #0C152E
triadic
#0C262E #2E0C26 #262E0C
tetradic
#0C262E #250C2E #2E140C #152E0C
square
#0C262E #250C2E #2E140C #152E0C
split-complementary
#0C262E #2E0C15 #2E250C
monochromatic
#061418 #061418 #0C262E #194E5F #25768F

Accessibility & contrast

On white

15.76
#0C262E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#0C262E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C262E
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C262E#FFFFFF#000000##FFFFFF
##0C262E1.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21252E
Deuteranopia (green-blind)
#1C212E
Tritanopia (blue-blind)
#002929
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0c262e;
/* rgb */ color: rgb(12, 38, 46);
/* oklch */ color: oklch(25.2% 0.035 221.0);
Tailwind
colors: {
  custom: {
    50: '#4f6066',
    500: '#0c262e',
    950: '#000000',
  },
}
SCSS
$custom: #0c262e;
$custom-light: #4f6066;
$custom-dark: #000000;
JSON
{
  "hex": "#0c262e",
  "rgb": {
    "r": 12,
    "g": 38,
    "b": 46
  },
  "hsl": {
    "h": 194.118,
    "s": 58.621,
    "l": 11.373
  },
  "oklch": {
    "l": 0.25241,
    "c": 0.03492,
    "h": 221
  },
  "luminance": 0.01662
}

Semantic roles & 50–950 ramp

primary
#0C262E
secondary
#6A3B2C
accent
#6B46E2
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020406
muted
#78797A

Preview Lab

Preview with #0C262E

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

Preview Lab → · Contrast checker → · Palette generator →

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