#27249E#27249E

#27249E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.5% C 0.187 H 273.1°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#27249E
RGBrgb(39, 36, 158)
HSLhsl(241, 63%, 38%)
HSVhsv(241, 77%, 62%)
CMYKcmyk(75.3%, 77.2%, 0%, 38%)
CIE-LABlab(24.20, 42.50, -64.69)
CIE-LCHlch(24.20, 77.40, 303.30°)
OKLaboklab(36.48% 0.0101 -0.1872)
OKLCHoklch(36.48% 0.187 273.1)
XYZxyz(7.6371, 4.1609, 32.7418)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27249E #9B9E24
analogous
#245E9E #27249E #64249E
triadic
#27249E #9E2724 #249E27
tetradic
#27249E #9E245E #9B9E24 #249E64
square
#27249E #9E245E #9B9E24 #249E64
split-complementary
#27249E #9E6424 #5E9E24
monochromatic
#0E0D3A #1B196C #27249E #332FD0 #6461DB

Accessibility & contrast

On white

11.46
#27249E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#27249E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27249E
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27249E#FFFFFF#000000##FFFFFF
##27249E1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA1
Deuteranopia (green-blind)
#00349C
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #27249e;
/* rgb */ color: rgb(39, 36, 158);
/* oklch */ color: oklch(36.5% 0.187 273.1);
Tailwind
colors: {
  custom: {
    50: '#7661bc',
    500: '#27249e',
    950: '#000000',
  },
}
SCSS
$custom: #27249e;
$custom-light: #7661bc;
$custom-dark: #000000;
JSON
{
  "hex": "#27249e",
  "rgb": {
    "r": 39,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 241.475,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.36481,
    "c": 0.18745,
    "h": 273.1
  },
  "luminance": 0.04162
}

Semantic roles & 50–950 ramp

primary
#27249E
secondary
#BEC05E
accent
#E642E2
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #27249E

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

Preview Lab → · Contrast checker → · Palette generator →

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