#27249C#27249C

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

Color values

HEX#27249C
RGBrgb(39, 36, 156)
HSLhsl(242, 63%, 38%)
HSVhsv(242, 77%, 61%)
CMYKcmyk(75%, 76.9%, 0%, 38.8%)
CIE-LABlab(23.98, 41.83, -63.83)
CIE-LCHlch(23.98, 76.32, 303.24°)
OKLaboklab(36.26% 0.0105 -0.1847)
OKLCHoklch(36.26% 0.185 273.2)
XYZxyz(7.4663, 4.0926, 31.8425)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27249C #999C24
analogous
#245D9C #27249C #63249C
triadic
#27249C #9C2724 #249C27
tetradic
#27249C #9C245D #999C24 #249C63
square
#27249C #9C245D #999C24 #249C63
split-complementary
#27249C #9C6324 #5D9C24
monochromatic
#0E0D39 #1B196A #27249C #332FCE #6360DA

Accessibility & contrast

On white

11.55
#27249C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#27249C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27249C
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27249C#FFFFFF#000000##FFFFFF
##27249C1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9F
Deuteranopia (green-blind)
#00339A
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #27249c;
/* rgb */ color: rgb(39, 36, 156);
/* oklch */ color: oklch(36.3% 0.185 273.2);
Tailwind
colors: {
  custom: {
    50: '#7561ba',
    500: '#27249c',
    950: '#000000',
  },
}
SCSS
$custom: #27249c;
$custom-light: #7561ba;
$custom-dark: #000000;
JSON
{
  "hex": "#27249c",
  "rgb": {
    "r": 39,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 241.5,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36259,
    "c": 0.18499,
    "h": 273.2
  },
  "luminance": 0.04093
}

Semantic roles & 50–950 ramp

primary
#27249C
secondary
#BDBF5C
accent
#E642E1
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #27249C

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

Preview Lab → · Contrast checker → · Palette generator →

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