#27249D#27249D

#27249D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.4% C 0.186 H 273.2°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#27249D
RGBrgb(39, 36, 157)
HSLhsl(241, 63%, 38%)
HSVhsv(241, 77%, 62%)
CMYKcmyk(75.2%, 77.1%, 0%, 38.4%)
CIE-LABlab(24.09, 42.16, -64.26)
CIE-LCHlch(24.09, 76.86, 303.27°)
OKLaboklab(36.37% 0.0103 -0.1859)
OKLCHoklch(36.37% 0.186 273.2)
XYZxyz(7.5513, 4.1266, 32.2903)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27249D #9A9D24
analogous
#245D9D #27249D #64249D
triadic
#27249D #9D2724 #249D27
tetradic
#27249D #9D245D #9A9D24 #249D64
square
#27249D #9D245D #9A9D24 #249D64
split-complementary
#27249D #9D6424 #5D9D24
monochromatic
#0E0D39 #1B196B #27249D #332FCF #6461DB

Accessibility & contrast

On white

11.50
#27249D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27249D
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27249D#FFFFFF#000000##FFFFFF
##27249D1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA0
Deuteranopia (green-blind)
#00339B
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #27249d;
/* rgb */ color: rgb(39, 36, 157);
/* oklch */ color: oklch(36.4% 0.186 273.2);
Tailwind
colors: {
  custom: {
    50: '#7561bb',
    500: '#27249d',
    950: '#000000',
  },
}
SCSS
$custom: #27249d;
$custom-light: #7561bb;
$custom-dark: #000000;
JSON
{
  "hex": "#27249d",
  "rgb": {
    "r": 39,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 241.488,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.3637,
    "c": 0.18622,
    "h": 273.2
  },
  "luminance": 0.04127
}

Semantic roles & 50–950 ramp

primary
#27249D
secondary
#BDC05D
accent
#E642E2
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #27249D

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

Preview Lab → · Contrast checker → · Palette generator →

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