#27248E#27248E

#27248E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.7% C 0.167 H 274.5°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#27248E
RGBrgb(39, 36, 142)
HSLhsl(242, 60%, 35%)
HSVhsv(242, 75%, 56%)
CMYKcmyk(72.5%, 74.6%, 0%, 44.3%)
CIE-LABlab(22.46, 37.08, -57.69)
CIE-LCHlch(22.46, 68.58, 302.73°)
OKLaboklab(34.74% 0.0132 -0.1668)
OKLCHoklch(34.74% 0.167 274.5)
XYZxyz(6.3484, 3.6455, 25.9550)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27248E #8B8E24
analogous
#24568E #27248E #5C248E
triadic
#27248E #8E2724 #248E27
tetradic
#27248E #8E2456 #8B8E24 #248E5C
square
#27248E #8E2456 #8B8E24 #248E5C
split-complementary
#27248E #8E5C24 #568E24
monochromatic
#0C0B2C #1A185D #27248E #3430BF #5B58D5

Accessibility & contrast

On white

12.14
#27248E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#27248E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27248E
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27248E#FFFFFF#000000##FFFFFF
##27248E1.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#00318C
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #27248e;
/* rgb */ color: rgb(39, 36, 142);
/* oklch */ color: oklch(34.7% 0.167 274.5);
Tailwind
colors: {
  custom: {
    50: '#7260b0',
    500: '#27248e',
    950: '#000000',
  },
}
SCSS
$custom: #27248e;
$custom-light: #7260b0;
$custom-dark: #000000;
JSON
{
  "hex": "#27248e",
  "rgb": {
    "r": 39,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 241.698,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34738,
    "c": 0.16735,
    "h": 274.5
  },
  "luminance": 0.03646
}

Semantic roles & 50–950 ramp

primary
#27248E
secondary
#B6B955
accent
#E345DE
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #27248E

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

Preview Lab → · Contrast checker → · Palette generator →

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