#27248D#27248D

#27248D is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.6% C 0.166 H 274.6°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#27248D
RGBrgb(39, 36, 141)
HSLhsl(242, 59%, 35%)
HSVhsv(242, 74%, 55%)
CMYKcmyk(72.3%, 74.5%, 0%, 44.7%)
CIE-LABlab(22.36, 36.73, -57.24)
CIE-LCHlch(22.36, 68.02, 302.69°)
OKLaboklab(34.63% 0.0134 -0.1655)
OKLCHoklch(34.63% 0.166 274.6)
XYZxyz(6.2737, 3.6156, 25.5614)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27248D #8A8D24
analogous
#24568D #27248D #5B248D
triadic
#27248D #8D2724 #248D27
tetradic
#27248D #8D2456 #8A8D24 #248D5B
square
#27248D #8D2456 #8A8D24 #248D5B
split-complementary
#27248D #8D5B24 #568D24
monochromatic
#0C0B2B #1A185C #27248D #3430BE #5B57D4

Accessibility & contrast

On white

12.19
#27248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#27248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27248D
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27248D#FFFFFF#000000##FFFFFF
##27248D1.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A90
Deuteranopia (green-blind)
#00318B
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #27248d;
/* rgb */ color: rgb(39, 36, 141);
/* oklch */ color: oklch(34.6% 0.166 274.6);
Tailwind
colors: {
  custom: {
    50: '#7160af',
    500: '#27248d',
    950: '#000000',
  },
}
SCSS
$custom: #27248d;
$custom-light: #7160af;
$custom-dark: #000000;
JSON
{
  "hex": "#27248d",
  "rgb": {
    "r": 39,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 241.714,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34631,
    "c": 0.16606,
    "h": 274.6
  },
  "luminance": 0.03616
}

Semantic roles & 50–950 ramp

primary
#27248D
secondary
#B6B854
accent
#E345DE
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090511
muted
#7B7980

Preview Lab

Preview with #27248D

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

Preview Lab → · Contrast checker → · Palette generator →

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