#27258D#27258D

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

Color values

HEX#27258D
RGBrgb(39, 37, 141)
HSLhsl(241, 58%, 35%)
HSVhsv(241, 74%, 55%)
CMYKcmyk(72.3%, 73.8%, 0%, 44.7%)
CIE-LABlab(22.57, 36.13, -56.89)
CIE-LCHlch(22.57, 67.39, 302.42°)
OKLaboklab(34.78% 0.0128 -0.1645)
OKLCHoklch(34.78% 0.165 274.5)
XYZxyz(6.3044, 3.6770, 25.5716)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27258D #8B8D25
analogous
#25578D #27258D #5B258D
triadic
#27258D #8D2725 #258D27
tetradic
#27258D #8D2557 #8B8D25 #258D5B
square
#27258D #8D2557 #8B8D25 #258D5B
split-complementary
#27258D #8D5B25 #578D25
monochromatic
#0C0C2C #1A185D #27258D #3432BD #5B59D3

Accessibility & contrast

On white

12.10
#27258D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#27258D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27258D
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27258D#FFFFFF#000000##FFFFFF
##27258D1.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)
#003B90
Deuteranopia (green-blind)
#00318B
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #27258d;
/* rgb */ color: rgb(39, 37, 141);
/* oklch */ color: oklch(34.8% 0.165 274.5);
Tailwind
colors: {
  custom: {
    50: '#7161af',
    500: '#27258d',
    950: '#000000',
  },
}
SCSS
$custom: #27258d;
$custom-light: #7161af;
$custom-dark: #000000;
JSON
{
  "hex": "#27258d",
  "rgb": {
    "r": 39,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 241.154,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34785,
    "c": 0.16499,
    "h": 274.5
  },
  "luminance": 0.03678
}

Semantic roles & 50–950 ramp

primary
#27258D
secondary
#B6B856
accent
#E246DF
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#090511
muted
#7B7980

Preview Lab

Preview with #27258D

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

Preview Lab → · Contrast checker → · Palette generator →

#27258D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva