#27418F#27418F

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

Color values

HEX#27418F
RGBrgb(39, 65, 143)
HSLhsl(225, 57%, 36%)
HSVhsv(225, 73%, 56%)
CMYKcmyk(72.7%, 54.5%, 0%, 43.9%)
CIE-LABlab(29.90, 18.36, -46.16)
CIE-LCHlch(29.90, 49.68, 291.69°)
OKLaboklab(40.24% -0.0081 -0.1328)
OKLCHoklch(40.24% 0.133 266.5)
XYZxyz(7.6832, 6.1943, 26.7720)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27418F #8F7527
analogous
#27758F #27418F #41278F
triadic
#27418F #8F2741 #418F27
tetradic
#27418F #8F2775 #8F7527 #278F41
square
#27418F #8F2775 #8F7527 #278F41
split-complementary
#27418F #8F4127 #758F27
monochromatic
#0D152F #1A2B5F #27418F #3457BF #5D7BD3

Accessibility & contrast

On white

9.38
#27418F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#27418F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27418F
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27418F#FFFFFF#000000##FFFFFF
##27418F1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084B92
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #27418f;
/* rgb */ color: rgb(39, 65, 143);
/* oklch */ color: oklch(40.2% 0.133 266.5);
Tailwind
colors: {
  custom: {
    50: '#6f75b0',
    500: '#27418f',
    950: '#000000',
  },
}
SCSS
$custom: #27418f;
$custom-light: #6f75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#27418f",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 143
  },
  "hsl": {
    "h": 225,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40236,
    "c": 0.13306,
    "h": 266.5
  },
  "luminance": 0.06195
}

Semantic roles & 50–950 ramp

primary
#27418F
secondary
#B8A15A
accent
#BA47E0
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080811
muted
#7B7B80

Preview Lab

Preview with #27418F

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

Preview Lab → · Contrast checker → · Palette generator →

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