#27438D#27438D

#27438D is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.5% C 0.128 H 265.4°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#27438D
RGBrgb(39, 67, 141)
HSLhsl(224, 57%, 35%)
HSVhsv(224, 72%, 55%)
CMYKcmyk(72.3%, 52.5%, 0%, 44.7%)
CIE-LABlab(30.32, 16.21, -44.25)
CIE-LCHlch(30.32, 47.12, 290.12°)
OKLaboklab(40.51% -0.0101 -0.1271)
OKLCHoklch(40.51% 0.128 265.4)
XYZxyz(7.6499, 6.3679, 26.0201)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27438D #8D7127
analogous
#27768D #27438D #3E278D
triadic
#27438D #8D2743 #438D27
tetradic
#27438D #8D2776 #8D7127 #278D3E
square
#27438D #8D2776 #8D7127 #278D3E
split-complementary
#27438D #8D3E27 #768D27
monochromatic
#0C152D #1A2C5D #27438D #345ABD #5C7DD2

Accessibility & contrast

On white

9.24
#27438D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#27438D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27438D
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27438D#FFFFFF#000000##FFFFFF
##27438D1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154C90
Deuteranopia (green-blind)
#00438C
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #27438d;
/* rgb */ color: rgb(39, 67, 141);
/* oklch */ color: oklch(40.5% 0.128 265.4);
Tailwind
colors: {
  custom: {
    50: '#6f76af',
    500: '#27438d',
    950: '#000000',
  },
}
SCSS
$custom: #27438d;
$custom-light: #6f76af;
$custom-dark: #000000;
JSON
{
  "hex": "#27438d",
  "rgb": {
    "r": 39,
    "g": 67,
    "b": 141
  },
  "hsl": {
    "h": 223.529,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40511,
    "c": 0.12754,
    "h": 265.4
  },
  "luminance": 0.06369
}

Semantic roles & 50–950 ramp

primary
#27438D
secondary
#B79D59
accent
#B648E0
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #27438D

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

Preview Lab → · Contrast checker → · Palette generator →

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