#27249B#27249B

#27249B is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.1% C 0.184 H 273.3°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#27249B
RGBrgb(39, 36, 155)
HSLhsl(242, 62%, 37%)
HSVhsv(242, 77%, 61%)
CMYKcmyk(74.8%, 76.8%, 0%, 39.2%)
CIE-LABlab(23.87, 41.50, -63.40)
CIE-LCHlch(23.87, 75.77, 303.20°)
OKLaboklab(36.15% 0.0107 -0.1834)
OKLCHoklch(36.15% 0.184 273.3)
XYZxyz(7.3820, 4.0589, 31.3984)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27249B #989B24
analogous
#245C9B #27249B #63249B
triadic
#27249B #9B2724 #249B27
tetradic
#27249B #9B245C #989B24 #249B63
square
#27249B #9B245C #989B24 #249B63
split-complementary
#27249B #9B6324 #5C9B24
monochromatic
#0E0D38 #1B1869 #27249B #3330CD #635FDA

Accessibility & contrast

On white

11.59
#27249B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27249B
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27249B#FFFFFF#000000##FFFFFF
##27249B1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9E
Deuteranopia (green-blind)
#003399
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #27249b;
/* rgb */ color: rgb(39, 36, 155);
/* oklch */ color: oklch(36.1% 0.184 273.3);
Tailwind
colors: {
  custom: {
    50: '#7561ba',
    500: '#27249b',
    950: '#000000',
  },
}
SCSS
$custom: #27249b;
$custom-light: #7561ba;
$custom-dark: #000000;
JSON
{
  "hex": "#27249b",
  "rgb": {
    "r": 39,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 241.513,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36149,
    "c": 0.18375,
    "h": 273.3
  },
  "luminance": 0.0406
}

Semantic roles & 50–950 ramp

primary
#27249B
secondary
#BCBF5C
accent
#E542E1
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #27249B

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

Preview Lab → · Contrast checker → · Palette generator →

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