#27418E#27418E

#27418E is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.2% C 0.132 H 266.4°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#27418E
RGBrgb(39, 65, 142)
HSLhsl(225, 57%, 35%)
HSVhsv(225, 73%, 56%)
CMYKcmyk(72.5%, 54.2%, 0%, 44.3%)
CIE-LABlab(29.82, 17.97, -45.67)
CIE-LCHlch(29.82, 49.08, 291.48°)
OKLaboklab(40.16% -0.0082 -0.1314)
OKLCHoklch(40.16% 0.132 266.4)
XYZxyz(7.6078, 6.1641, 26.3748)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27418E #8E7427
analogous
#27748E #27418E #40278E
triadic
#27418E #8E2741 #418E27
tetradic
#27418E #8E2774 #8E7427 #278E40
square
#27418E #8E2774 #8E7427 #278E40
split-complementary
#27418E #8E4027 #748E27
monochromatic
#0D152E #1A2B5E #27418E #3457BE #5D7BD2

Accessibility & contrast

On white

9.40
#27418E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#27418E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27418E
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27418E#FFFFFF#000000##FFFFFF
##27418E1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4B91
Deuteranopia (green-blind)
#00428C
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #27418e;
/* rgb */ color: rgb(39, 65, 142);
/* oklch */ color: oklch(40.2% 0.132 266.4);
Tailwind
colors: {
  custom: {
    50: '#6f75b0',
    500: '#27418e',
    950: '#000000',
  },
}
SCSS
$custom: #27418e;
$custom-light: #6f75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#27418e",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 142
  },
  "hsl": {
    "h": 224.854,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40156,
    "c": 0.13162,
    "h": 266.4
  },
  "luminance": 0.06165
}

Semantic roles & 50–950 ramp

primary
#27418E
secondary
#B8A059
accent
#BA48E0
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #27418E

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

Preview Lab → · Contrast checker → · Palette generator →

#27418E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva