#27438E#27438E

#27438E is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.6% C 0.129 H 265.5°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#27438E
RGBrgb(39, 67, 142)
HSLhsl(224, 57%, 35%)
HSVhsv(224, 73%, 56%)
CMYKcmyk(72.5%, 52.8%, 0%, 44.3%)
CIE-LABlab(30.39, 16.60, -44.74)
CIE-LCHlch(30.39, 47.72, 290.36°)
OKLaboklab(40.59% -0.01 -0.1286)
OKLCHoklch(40.59% 0.129 265.5)
XYZxyz(7.7246, 6.3978, 26.4137)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27438E #8E7227
analogous
#27768E #27438E #3E278E
triadic
#27438E #8E2743 #438E27
tetradic
#27438E #8E2776 #8E7227 #278E3E
square
#27438E #8E2776 #8E7227 #278E3E
split-complementary
#27438E #8E3E27 #768E27
monochromatic
#0D162E #1A2C5E #27438E #345ABE #5D7DD2

Accessibility & contrast

On white

9.21
#27438E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#27438E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27438E
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27438E#FFFFFF#000000##FFFFFF
##27438E1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144D91
Deuteranopia (green-blind)
#00438C
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #27438e;
/* rgb */ color: rgb(39, 67, 142);
/* oklch */ color: oklch(40.6% 0.129 265.5);
Tailwind
colors: {
  custom: {
    50: '#6f76b0',
    500: '#27438e',
    950: '#000000',
  },
}
SCSS
$custom: #27438e;
$custom-light: #6f76b0;
$custom-dark: #000000;
JSON
{
  "hex": "#27438e",
  "rgb": {
    "r": 39,
    "g": 67,
    "b": 142
  },
  "hsl": {
    "h": 223.689,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40589,
    "c": 0.12899,
    "h": 265.5
  },
  "luminance": 0.06399
}

Semantic roles & 50–950 ramp

primary
#27438E
secondary
#B89E59
accent
#B748E0
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #27438E

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

Preview Lab → · Contrast checker → · Palette generator →

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