#27418A#27418A

#27418A is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.8% C 0.126 H 266.1°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#27418A
RGBrgb(39, 65, 138)
HSLhsl(224, 56%, 35%)
HSVhsv(224, 72%, 54%)
CMYKcmyk(71.7%, 52.9%, 0%, 45.9%)
CIE-LABlab(29.53, 16.42, -43.68)
CIE-LCHlch(29.53, 46.66, 290.60°)
OKLaboklab(39.84% -0.0086 -0.1255)
OKLCHoklch(39.84% 0.126 266.1)
XYZxyz(7.3128, 6.0462, 24.8215)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27418A #8A7027
analogous
#27738A #27418A #3E278A
triadic
#27418A #8A2741 #418A27
tetradic
#27418A #8A2773 #8A7027 #278A3E
square
#27418A #8A2773 #8A7027 #278A3E
split-complementary
#27418A #8A3E27 #738A27
monochromatic
#0C142B #1A2B5A #27418A #3457BA #5B7AD1

Accessibility & contrast

On white

9.50
#27418A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#27418A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27418A
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27418A#FFFFFF#000000##FFFFFF
##27418A1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134A8D
Deuteranopia (green-blind)
#004189
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #27418a;
/* rgb */ color: rgb(39, 65, 138);
/* oklch */ color: oklch(39.8% 0.126 266.1);
Tailwind
colors: {
  custom: {
    50: '#6e75ad',
    500: '#27418a',
    950: '#000000',
  },
}
SCSS
$custom: #27418a;
$custom-light: #6e75ad;
$custom-dark: #000000;
JSON
{
  "hex": "#27418a",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 138
  },
  "hsl": {
    "h": 224.242,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39839,
    "c": 0.1258,
    "h": 266.1
  },
  "luminance": 0.06047
}

Semantic roles & 50–950 ramp

primary
#27418A
secondary
#B69D57
accent
#B849DF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #27418A

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

Preview Lab → · Contrast checker → · Palette generator →

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