#27249F#27249F

#27249F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.6% C 0.189 H 273.0°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#27249F
RGBrgb(39, 36, 159)
HSLhsl(241, 63%, 38%)
HSVhsv(241, 77%, 62%)
CMYKcmyk(75.5%, 77.4%, 0%, 37.6%)
CIE-LABlab(24.31, 42.83, -65.11)
CIE-LCHlch(24.31, 77.94, 303.34°)
OKLaboklab(36.59% 0.0099 -0.1884)
OKLCHoklch(36.59% 0.189 273)
XYZxyz(7.7235, 4.1955, 33.1969)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27249F #9C9F24
analogous
#245F9F #27249F #64249F
triadic
#27249F #9F2724 #249F27
tetradic
#27249F #9F245F #9C9F24 #249F64
square
#27249F #9F245F #9C9F24 #249F64
split-complementary
#27249F #9F6424 #5F9F24
monochromatic
#0F0D3B #1B196D #27249F #3430D0 #6562DB

Accessibility & contrast

On white

11.42
#27249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#27249F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27249F
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27249F#FFFFFF#000000##FFFFFF
##27249F1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A3
Deuteranopia (green-blind)
#00349D
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #27249f;
/* rgb */ color: rgb(39, 36, 159);
/* oklch */ color: oklch(36.6% 0.189 273.0);
Tailwind
colors: {
  custom: {
    50: '#7661bd',
    500: '#27249f',
    950: '#000000',
  },
}
SCSS
$custom: #27249f;
$custom-light: #7661bd;
$custom-dark: #000000;
JSON
{
  "hex": "#27249f",
  "rgb": {
    "r": 39,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 241.463,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.36592,
    "c": 0.18868,
    "h": 273
  },
  "luminance": 0.04196
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #27249F

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

Preview Lab → · Contrast checker → · Palette generator →

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