#27459B#27459B

#27459B is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.1% C 0.145 H 265.8°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#27459B
RGBrgb(39, 69, 155)
HSLhsl(224, 60%, 38%)
HSVhsv(224, 75%, 61%)
CMYKcmyk(74.8%, 55.5%, 0%, 39.2%)
CIE-LABlab(31.93, 20.29, -50.20)
CIE-LCHlch(31.93, 54.14, 292.01°)
OKLaboklab(42.06% -0.0105 -0.1446)
OKLCHoklch(42.06% 0.145 265.8)
XYZxyz(8.8791, 7.0532, 31.8974)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27459B #9B7D27
analogous
#277F9B #27459B #43279B
triadic
#27459B #9B2745 #459B27
tetradic
#27459B #9B277F #9B7D27 #279B43
square
#27459B #9B277F #9B7D27 #279B43
split-complementary
#27459B #9B4327 #7F9B27
monochromatic
#0E1939 #1B2F6A #27459B #335BCC #6482D8

Accessibility & contrast

On white

8.71
#27459B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#27459B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27459B
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27459B#FFFFFF#000000##FFFFFF
##27459B1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#004699
Tritanopia (blue-blind)
#005A69
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #27459b;
/* rgb */ color: rgb(39, 69, 155);
/* oklch */ color: oklch(42.1% 0.145 265.8);
Tailwind
colors: {
  custom: {
    50: '#7278b9',
    500: '#27459b',
    950: '#000000',
  },
}
SCSS
$custom: #27459b;
$custom-light: #7278b9;
$custom-dark: #000000;
JSON
{
  "hex": "#27459b",
  "rgb": {
    "r": 39,
    "g": 69,
    "b": 155
  },
  "hsl": {
    "h": 224.483,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42056,
    "c": 0.14499,
    "h": 265.8
  },
  "luminance": 0.07054
}

Semantic roles & 50–950 ramp

primary
#27459B
secondary
#BEA660
accent
#BA45E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #27459B

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

Preview Lab → · Contrast checker → · Palette generator →

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