#27249A#27249A

#27249A is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.0% C 0.183 H 273.4°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#27249A
RGBrgb(39, 36, 154)
HSLhsl(242, 62%, 37%)
HSVhsv(242, 77%, 60%)
CMYKcmyk(74.7%, 76.6%, 0%, 39.6%)
CIE-LABlab(23.76, 41.16, -62.97)
CIE-LCHlch(23.76, 75.23, 303.17°)
OKLaboklab(36.04% 0.0109 -0.1822)
OKLCHoklch(36.04% 0.183 273.4)
XYZxyz(7.2984, 4.0254, 30.9579)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27249A #979A24
analogous
#245C9A #27249A #62249A
triadic
#27249A #9A2724 #249A27
tetradic
#27249A #9A245C #979A24 #249A62
square
#27249A #9A245C #979A24 #249A62
split-complementary
#27249A #9A6224 #5C9A24
monochromatic
#0E0D37 #1A1868 #27249A #3430CC #625FDA

Accessibility & contrast

On white

11.63
#27249A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#27249A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27249A
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27249A#FFFFFF#000000##FFFFFF
##27249A1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9D
Deuteranopia (green-blind)
#003398
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #27249a;
/* rgb */ color: rgb(39, 36, 154);
/* oklch */ color: oklch(36.0% 0.183 273.4);
Tailwind
colors: {
  custom: {
    50: '#7561b9',
    500: '#27249a',
    950: '#000000',
  },
}
SCSS
$custom: #27249a;
$custom-light: #7561b9;
$custom-dark: #000000;
JSON
{
  "hex": "#27249a",
  "rgb": {
    "r": 39,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 241.525,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36039,
    "c": 0.18251,
    "h": 273.4
  },
  "luminance": 0.04026
}

Semantic roles & 50–950 ramp

primary
#27249A
secondary
#BCBF5B
accent
#E543E1
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #27249A

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

Preview Lab → · Contrast checker → · Palette generator →

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