#27438B#27438B

#27438B is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.4% C 0.125 H 265.2°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#27438B
RGBrgb(39, 67, 139)
HSLhsl(223, 56%, 35%)
HSVhsv(223, 72%, 55%)
CMYKcmyk(71.9%, 51.8%, 0%, 45.5%)
CIE-LABlab(30.18, 15.43, -43.25)
CIE-LCHlch(30.18, 45.92, 289.64°)
OKLaboklab(40.36% -0.0104 -0.1242)
OKLCHoklch(40.36% 0.125 265.2)
XYZxyz(7.5024, 6.3090, 25.2435)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27438B #8B6F27
analogous
#27758B #27438B #3D278B
triadic
#27438B #8B2743 #438B27
tetradic
#27438B #8B2775 #8B6F27 #278B3D
square
#27438B #8B2775 #8B6F27 #278B3D
split-complementary
#27438B #8B3D27 #758B27
monochromatic
#0C152B #1A2C5B #27438B #345ABB #5B7CD1

Accessibility & contrast

On white

9.28
#27438B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#27438B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27438B
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27438B#FFFFFF#000000##FFFFFF
##27438B1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184C8E
Deuteranopia (green-blind)
#00438A
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #27438b;
/* rgb */ color: rgb(39, 67, 139);
/* oklch */ color: oklch(40.4% 0.125 265.2);
Tailwind
colors: {
  custom: {
    50: '#6e76ad',
    500: '#27438b',
    950: '#000000',
  },
}
SCSS
$custom: #27438b;
$custom-light: #6e76ad;
$custom-dark: #000000;
JSON
{
  "hex": "#27438b",
  "rgb": {
    "r": 39,
    "g": 67,
    "b": 139
  },
  "hsl": {
    "h": 223.2,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40356,
    "c": 0.12463,
    "h": 265.2
  },
  "luminance": 0.0631
}

Semantic roles & 50–950 ramp

primary
#27438B
secondary
#B69C58
accent
#B548DF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #27438B

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

Preview Lab → · Contrast checker → · Palette generator →

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