#0C263B#0C263B

#0C263B is a dark, muted cyan. Relative luminance 0.018; OKLCH L 26.0% C 0.051 H 245.9°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#0C263B
RGBrgb(12, 38, 59)
HSLhsl(207, 66%, 14%)
HSVhsv(207, 80%, 23%)
CMYKcmyk(79.7%, 35.6%, 0%, 76.9%)
CIE-LABlab(14.29, -1.51, -16.38)
CIE-LCHlch(14.29, 16.45, 264.74°)
OKLaboklab(26.01% -0.0207 -0.0463)
OKLCHoklch(26.01% 0.051 245.9)
XYZxyz(1.6339, 1.7800, 4.3943)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C263B #3B210C
analogous
#0C3B39 #0C263B #0C0F3B
triadic
#0C263B #3B0C26 #263B0C
tetradic
#0C263B #390C3B #3B210C #0F3B0C
square
#0C263B #390C3B #3B210C #0F3B0C
split-complementary
#0C263B #3B0C0F #3B390C
monochromatic
#051019 #051019 #0C263B #16476E #2168A1

Accessibility & contrast

On white

15.49
#0C263B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#0C263B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C263B
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C263B#FFFFFF#000000##FFFFFF
##0C263B1.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D273C
Deuteranopia (green-blind)
#16223B
Tritanopia (blue-blind)
#002B2D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0c263b;
/* rgb */ color: rgb(12, 38, 59);
/* oklch */ color: oklch(26.0% 0.051 245.9);
Tailwind
colors: {
  custom: {
    50: '#526071',
    500: '#0c263b',
    950: '#000000',
  },
}
SCSS
$custom: #0c263b;
$custom-light: #526071;
$custom-dark: #000000;
JSON
{
  "hex": "#0c263b",
  "rgb": {
    "r": 12,
    "g": 38,
    "b": 59
  },
  "hsl": {
    "h": 206.809,
    "s": 66.197,
    "l": 13.922
  },
  "oklch": {
    "l": 0.26014,
    "c": 0.05075,
    "h": 245.9
  },
  "luminance": 0.0178
}

Semantic roles & 50–950 ramp

primary
#0C263B
secondary
#774D2C
accent
#8B3FE9
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020407
muted
#78797A

Preview Lab

Preview with #0C263B

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

Preview Lab → · Contrast checker → · Palette generator →

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