#27248B#27248B

#27248B is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.4% C 0.163 H 274.8°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#27248B
RGBrgb(39, 36, 139)
HSLhsl(242, 59%, 34%)
HSVhsv(242, 74%, 55%)
CMYKcmyk(71.9%, 74.1%, 0%, 45.5%)
CIE-LABlab(22.15, 36.04, -56.34)
CIE-LCHlch(22.15, 66.89, 302.61°)
OKLaboklab(34.42% 0.0138 -0.1629)
OKLCHoklch(34.42% 0.163 274.8)
XYZxyz(6.1262, 3.5566, 24.7847)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27248B #888B24
analogous
#24548B #27248B #5B248B
triadic
#27248B #8B2724 #248B27
tetradic
#27248B #8B2454 #888B24 #248B5B
square
#27248B #8B2454 #888B24 #248B5B
split-complementary
#27248B #8B5B24 #548B24
monochromatic
#0C0B2A #19175A #27248B #3531BC #5A56D3

Accessibility & contrast

On white

12.27
#27248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#27248B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27248B
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27248B#FFFFFF#000000##FFFFFF
##27248B1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8E
Deuteranopia (green-blind)
#003089
Tritanopia (blue-blind)
#004155
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #27248b;
/* rgb */ color: rgb(39, 36, 139);
/* oklch */ color: oklch(34.4% 0.163 274.8);
Tailwind
colors: {
  custom: {
    50: '#7160ae',
    500: '#27248b',
    950: '#000000',
  },
}
SCSS
$custom: #27248b;
$custom-light: #7160ae;
$custom-dark: #000000;
JSON
{
  "hex": "#27248b",
  "rgb": {
    "r": 39,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 241.748,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34419,
    "c": 0.16347,
    "h": 274.8
  },
  "luminance": 0.03557
}

Semantic roles & 50–950 ramp

primary
#27248B
secondary
#B5B753
accent
#E246DD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #27248B

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

Preview Lab → · Contrast checker → · Palette generator →

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