#0C263E#0C263E

#0C263E is a dark, muted cyan. Relative luminance 0.018; OKLCH L 26.2% C 0.055 H 249.2°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#0C263E
RGBrgb(12, 38, 62)
HSLhsl(209, 68%, 15%)
HSVhsv(209, 81%, 24%)
CMYKcmyk(80.6%, 38.7%, 0%, 75.7%)
CIE-LABlab(14.47, -0.21, -18.20)
CIE-LCHlch(14.47, 18.20, 269.33°)
OKLaboklab(26.22% -0.0196 -0.0516)
OKLCHoklch(26.22% 0.055 249.2)
XYZxyz(1.7139, 1.8120, 4.8159)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C263E #3E240C
analogous
#0C3E3D #0C263E #0C0D3E
triadic
#0C263E #3E0C26 #263E0C
tetradic
#0C263E #3D0C3E #3E240C #0D3E0C
square
#0C263E #3D0C3E #3E240C #0D3E0C
split-complementary
#0C263E #3E0C0D #3E3D0C
monochromatic
#05101A #05101A #0C263E #164571 #2065A5

Accessibility & contrast

On white

15.41
#0C263E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C263E
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C263E#FFFFFF#000000##FFFFFF
##0C263E1.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B273F
Deuteranopia (green-blind)
#14223E
Tritanopia (blue-blind)
#002C2F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0c263e;
/* rgb */ color: rgb(12, 38, 62);
/* oklch */ color: oklch(26.2% 0.055 249.2);
Tailwind
colors: {
  custom: {
    50: '#526073',
    500: '#0c263e',
    950: '#000000',
  },
}
SCSS
$custom: #0c263e;
$custom-light: #526073;
$custom-dark: #000000;
JSON
{
  "hex": "#0c263e",
  "rgb": {
    "r": 12,
    "g": 38,
    "b": 62
  },
  "hsl": {
    "h": 208.8,
    "s": 67.568,
    "l": 14.51
  },
  "oklch": {
    "l": 0.26215,
    "c": 0.05525,
    "h": 249.2
  },
  "luminance": 0.01812
}

Semantic roles & 50–950 ramp

primary
#0C263E
secondary
#7A512C
accent
#903DEA
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #0C263E

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

Preview Lab → · Contrast checker → · Palette generator →

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