#27248A#27248A

#27248A is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.3% C 0.162 H 274.9°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#27248A
RGBrgb(39, 36, 138)
HSLhsl(242, 59%, 34%)
HSVhsv(242, 74%, 54%)
CMYKcmyk(71.7%, 73.9%, 0%, 45.9%)
CIE-LABlab(22.04, 35.70, -55.89)
CIE-LCHlch(22.04, 66.32, 302.56°)
OKLaboklab(34.31% 0.014 -0.1616)
OKLCHoklch(34.31% 0.162 274.9)
XYZxyz(6.0535, 3.5275, 24.4017)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27248A #878A24
analogous
#24548A #27248A #5A248A
triadic
#27248A #8A2724 #248A27
tetradic
#27248A #8A2454 #878A24 #248A5A
square
#27248A #8A2454 #878A24 #248A5A
split-complementary
#27248A #8A5A24 #548A24
monochromatic
#0C0B29 #191759 #27248A #3531BB #5956D3

Accessibility & contrast

On white

12.31
#27248A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#27248A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27248A
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27248A#FFFFFF#000000##FFFFFF
##27248A1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398D
Deuteranopia (green-blind)
#003088
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #27248a;
/* rgb */ color: rgb(39, 36, 138);
/* oklch */ color: oklch(34.3% 0.162 274.9);
Tailwind
colors: {
  custom: {
    50: '#7160ad',
    500: '#27248a',
    950: '#000000',
  },
}
SCSS
$custom: #27248a;
$custom-light: #7160ad;
$custom-dark: #000000;
JSON
{
  "hex": "#27248a",
  "rgb": {
    "r": 39,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 241.765,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34313,
    "c": 0.16217,
    "h": 274.9
  },
  "luminance": 0.03528
}

Semantic roles & 50–950 ramp

primary
#27248A
secondary
#B4B753
accent
#E246DD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #27248A

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

Preview Lab → · Contrast checker → · Palette generator →

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