#27248F#27248F

#27248F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.8% C 0.169 H 274.4°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#27248F
RGBrgb(39, 36, 143)
HSLhsl(242, 60%, 35%)
HSVhsv(242, 75%, 56%)
CMYKcmyk(72.7%, 74.8%, 0%, 43.9%)
CIE-LABlab(22.57, 37.42, -58.14)
CIE-LCHlch(22.57, 69.14, 302.77°)
OKLaboklab(34.85% 0.0131 -0.1681)
OKLCHoklch(34.85% 0.169 274.4)
XYZxyz(6.4239, 3.6756, 26.3522)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27248F #8C8F24
analogous
#24578F #27248F #5C248F
triadic
#27248F #8F2724 #248F27
tetradic
#27248F #8F2457 #8C8F24 #248F5C
square
#27248F #8F2457 #8C8F24 #248F5C
split-complementary
#27248F #8F5C24 #578F24
monochromatic
#0C0B2D #1A185E #27248F #3430C0 #5C58D5

Accessibility & contrast

On white

12.10
#27248F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#27248F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27248F
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27248F#FFFFFF#000000##FFFFFF
##27248F1.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#00318D
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #27248f;
/* rgb */ color: rgb(39, 36, 143);
/* oklch */ color: oklch(34.8% 0.169 274.4);
Tailwind
colors: {
  custom: {
    50: '#7260b1',
    500: '#27248f',
    950: '#000000',
  },
}
SCSS
$custom: #27248f;
$custom-light: #7260b1;
$custom-dark: #000000;
JSON
{
  "hex": "#27248f",
  "rgb": {
    "r": 39,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 241.682,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34845,
    "c": 0.16864,
    "h": 274.4
  },
  "luminance": 0.03676
}

Semantic roles & 50–950 ramp

primary
#27248F
secondary
#B7B955
accent
#E345DF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #27248F

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

Preview Lab → · Contrast checker → · Palette generator →

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