#27257D#27257D

#27257D is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.1% C 0.144 H 276.1°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#27257D
RGBrgb(39, 37, 125)
HSLhsl(241, 54%, 32%)
HSVhsv(241, 70%, 49%)
CMYKcmyk(68.8%, 70.4%, 0%, 51%)
CIE-LABlab(20.96, 30.48, -49.49)
CIE-LCHlch(20.96, 58.12, 301.63°)
OKLaboklab(33.14% 0.0154 -0.1429)
OKLCHoklch(33.14% 0.144 276.1)
XYZxyz(5.1987, 3.2347, 19.7484)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27257D #7B7D25
analogous
#254F7D #27257D #53257D
triadic
#27257D #7D2725 #257D27
tetradic
#27257D #7D254F #7B7D25 #257D53
square
#27257D #7D254F #7B7D25 #257D53
split-complementary
#27257D #7D5325 #4F7D25
monochromatic
#0A091F #18174E #27257D #3633AC #5451CB

Accessibility & contrast

On white

12.75
#27257D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#27257D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27257D
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27257D#FFFFFF#000000##FFFFFF
##27257D1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003680
Deuteranopia (green-blind)
#002E7B
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #27257d;
/* rgb */ color: rgb(39, 37, 125);
/* oklch */ color: oklch(33.1% 0.144 276.1);
Tailwind
colors: {
  custom: {
    50: '#6e60a4',
    500: '#27257d',
    950: '#000000',
  },
}
SCSS
$custom: #27257d;
$custom-light: #6e60a4;
$custom-dark: #000000;
JSON
{
  "hex": "#27257d",
  "rgb": {
    "r": 39,
    "g": 37,
    "b": 125
  },
  "hsl": {
    "h": 241.364,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33138,
    "c": 0.14369,
    "h": 276.1
  },
  "luminance": 0.03235
}

Semantic roles & 50–950 ramp

primary
#27257D
secondary
#ADAF4F
accent
#DE4ADA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #27257D

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

Preview Lab → · Contrast checker → · Palette generator →

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