#08274B#08274B

#08274B is a dark, moderate cyan. Relative luminance 0.020; OKLCH L 27.3% C 0.076 H 254.8°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#08274B
RGBrgb(8, 39, 75)
HSLhsl(212, 81%, 16%)
HSVhsv(212, 89%, 29%)
CMYKcmyk(89.3%, 48%, 0%, 70.6%)
CIE-LABlab(15.54, 4.24, -25.48)
CIE-LCHlch(15.54, 25.83, 279.45°)
OKLaboklab(27.3% -0.0198 -0.073)
OKLCHoklch(27.3% 0.076 254.8)
XYZxyz(2.0952, 2.0104, 6.9329)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08274B #4B2C08
analogous
#08494B #08274B #0B084B
triadic
#08274B #4B0827 #274B08
tetradic
#08274B #4B0849 #4B2C08 #084B0B
square
#08274B #4B0849 #4B2C08 #084B0B
split-complementary
#08274B #4B0B08 #494B08
monochromatic
#030E1C #030E1C #08274B #0E4482 #1461BA

Accessibility & contrast

On white

14.98
#08274B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08274B
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08274B#FFFFFF#000000##FFFFFF
##08274B1.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152A4C
Deuteranopia (green-blind)
#08244A
Tritanopia (blue-blind)
#003035
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #08274b;
/* rgb */ color: rgb(8, 39, 75);
/* oklch */ color: oklch(27.3% 0.076 254.8);
Tailwind
colors: {
  custom: {
    50: '#54607d',
    500: '#08274b',
    950: '#000000',
  },
}
SCSS
$custom: #08274b;
$custom-light: #54607d;
$custom-dark: #000000;
JSON
{
  "hex": "#08274b",
  "rgb": {
    "r": 8,
    "g": 39,
    "b": 75
  },
  "hsl": {
    "h": 212.239,
    "s": 80.723,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27295,
    "c": 0.07566,
    "h": 254.8
  },
  "luminance": 0.02011
}

Semantic roles & 50–950 ramp

primary
#08274B
secondary
#895B26
accent
#9B31F7
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C

Preview Lab

Preview with #08274B

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

Preview Lab → · Contrast checker → · Palette generator →

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