#08274A#08274A

#08274A is a dark, moderate cyan. Relative luminance 0.020; OKLCH L 27.2% C 0.074 H 254.3°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#08274A
RGBrgb(8, 39, 74)
HSLhsl(212, 80%, 16%)
HSVhsv(212, 89%, 29%)
CMYKcmyk(89.2%, 47.3%, 0%, 71%)
CIE-LABlab(15.47, 3.78, -24.91)
CIE-LCHlch(15.47, 25.20, 278.64°)
OKLaboklab(27.22% -0.02 -0.0713)
OKLCHoklch(27.22% 0.074 254.3)
XYZxyz(2.0612, 1.9968, 6.7540)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08274A #4A2B08
analogous
#08484A #08274A #0A084A
triadic
#08274A #4A0827 #274A08
tetradic
#08274A #4A0848 #4A2B08 #084A0A
square
#08274A #4A0848 #4A2B08 #084A0A
split-complementary
#08274A #4A0A08 #484A08
monochromatic
#030F1C #030F1C #08274A #0E4481 #1461B8

Accessibility & contrast

On white

15.01
#08274A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#08274A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08274A
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08274A#FFFFFF#000000##FFFFFF
##08274A1.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152A4B
Deuteranopia (green-blind)
#092449
Tritanopia (blue-blind)
#002F34
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #08274a;
/* rgb */ color: rgb(8, 39, 74);
/* oklch */ color: oklch(27.2% 0.074 254.3);
Tailwind
colors: {
  custom: {
    50: '#54607d',
    500: '#08274a',
    950: '#000000',
  },
}
SCSS
$custom: #08274a;
$custom-light: #54607d;
$custom-dark: #000000;
JSON
{
  "hex": "#08274a",
  "rgb": {
    "r": 8,
    "g": 39,
    "b": 74
  },
  "hsl": {
    "h": 211.818,
    "s": 80.488,
    "l": 16.078
  },
  "oklch": {
    "l": 0.27216,
    "c": 0.07411,
    "h": 254.3
  },
  "luminance": 0.01997
}

Semantic roles & 50–950 ramp

primary
#08274A
secondary
#885A26
accent
#9A31F7
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030409
muted
#78797B

Preview Lab

Preview with #08274A

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

Preview Lab → · Contrast checker → · Palette generator →

#08274A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva