#27258F#27258F

#27258F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.0% C 0.168 H 274.3°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#27258F
RGBrgb(39, 37, 143)
HSLhsl(241, 59%, 35%)
HSVhsv(241, 74%, 56%)
CMYKcmyk(72.7%, 74.1%, 0%, 43.9%)
CIE-LABlab(22.78, 36.83, -57.79)
CIE-LCHlch(22.78, 68.52, 302.51°)
OKLaboklab(35% 0.0125 -0.1671)
OKLCHoklch(35% 0.168 274.3)
XYZxyz(6.4545, 3.7370, 26.3624)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27258F #8D8F25
analogous
#25588F #27258F #5C258F
triadic
#27258F #8F2725 #258F27
tetradic
#27258F #8F2558 #8D8F25 #258F5C
square
#27258F #8F2558 #8D8F25 #258F5C
split-complementary
#27258F #8F5C25 #588F25
monochromatic
#0C0C2E #1A185E #27258F #3432C0 #5C5AD4

Accessibility & contrast

On white

12.02
#27258F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#27258F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27258F
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27258F#FFFFFF#000000##FFFFFF
##27258F1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.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: #27258f;
/* rgb */ color: rgb(39, 37, 143);
/* oklch */ color: oklch(35.0% 0.168 274.3);
Tailwind
colors: {
  custom: {
    50: '#7261b1',
    500: '#27258f',
    950: '#000000',
  },
}
SCSS
$custom: #27258f;
$custom-light: #7261b1;
$custom-dark: #000000;
JSON
{
  "hex": "#27258f",
  "rgb": {
    "r": 39,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 241.132,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34997,
    "c": 0.16758,
    "h": 274.3
  },
  "luminance": 0.03738
}

Semantic roles & 50–950 ramp

primary
#27258F
secondary
#B7B957
accent
#E246DF
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #27258F

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

Preview Lab → · Contrast checker → · Palette generator →

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