#27418B#27418B

#27418B is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.9% C 0.127 H 266.2°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#27418B
RGBrgb(39, 65, 139)
HSLhsl(224, 56%, 35%)
HSVhsv(224, 72%, 55%)
CMYKcmyk(71.9%, 53.2%, 0%, 45.5%)
CIE-LABlab(29.60, 16.80, -44.18)
CIE-LCHlch(29.60, 47.27, 290.83°)
OKLaboklab(39.92% -0.0085 -0.127)
OKLCHoklch(39.92% 0.127 266.2)
XYZxyz(7.3856, 6.0753, 25.2045)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27418B #8B7127
analogous
#27738B #27418B #3F278B
triadic
#27418B #8B2741 #418B27
tetradic
#27418B #8B2773 #8B7127 #278B3F
square
#27418B #8B2773 #8B7127 #278B3F
split-complementary
#27418B #8B3F27 #738B27
monochromatic
#0C142B #1A2B5B #27418B #3457BB #5B7AD1

Accessibility & contrast

On white

9.48
#27418B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#27418B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27418B
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27418B#FFFFFF#000000##FFFFFF
##27418B1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124B8E
Deuteranopia (green-blind)
#00418A
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #27418b;
/* rgb */ color: rgb(39, 65, 139);
/* oklch */ color: oklch(39.9% 0.127 266.2);
Tailwind
colors: {
  custom: {
    50: '#6f75ad',
    500: '#27418b',
    950: '#000000',
  },
}
SCSS
$custom: #27418b;
$custom-light: #6f75ad;
$custom-dark: #000000;
JSON
{
  "hex": "#27418b",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 139
  },
  "hsl": {
    "h": 224.4,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39918,
    "c": 0.12726,
    "h": 266.2
  },
  "luminance": 0.06076
}

Semantic roles & 50–950 ramp

primary
#27418B
secondary
#B69E58
accent
#B848DF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #27418B

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

Preview Lab → · Contrast checker → · Palette generator →

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