#27459F#27459F

#27459F is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.4% C 0.151 H 266.1°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#27459F
RGBrgb(39, 69, 159)
HSLhsl(225, 61%, 39%)
HSVhsv(225, 75%, 62%)
CMYKcmyk(75.5%, 56.6%, 0%, 37.6%)
CIE-LABlab(32.24, 21.83, -52.12)
CIE-LCHlch(32.24, 56.51, 292.73°)
OKLaboklab(42.39% -0.0103 -0.1503)
OKLCHoklch(42.39% 0.151 266.1)
XYZxyz(9.2206, 7.1898, 33.6960)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27459F #9F8127
analogous
#27819F #27459F #45279F
triadic
#27459F #9F2745 #459F27
tetradic
#27459F #9F2781 #9F8127 #279F45
square
#27459F #9F2781 #9F8127 #279F45
split-complementary
#27459F #9F4527 #819F27
monochromatic
#0F1A3D #1B306E #27459F #365CCE #6783DA

Accessibility & contrast

On white

8.61
#27459F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#27459F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27459F
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27459F#FFFFFF#000000##FFFFFF
##27459F1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#005B6B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #27459f;
/* rgb */ color: rgb(39, 69, 159);
/* oklch */ color: oklch(42.4% 0.151 266.1);
Tailwind
colors: {
  custom: {
    50: '#7378bc',
    500: '#27459f',
    950: '#000000',
  },
}
SCSS
$custom: #27459f;
$custom-light: #7378bc;
$custom-dark: #000000;
JSON
{
  "hex": "#27459f",
  "rgb": {
    "r": 39,
    "g": 69,
    "b": 159
  },
  "hsl": {
    "h": 225,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42385,
    "c": 0.15061,
    "h": 266.1
  },
  "luminance": 0.07191
}

Semantic roles & 50–950 ramp

primary
#27459F
secondary
#C0A862
accent
#BC44E4
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #27459F

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

Preview Lab → · Contrast checker → · Palette generator →

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