#27438C#27438C

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

Color values

HEX#27438C
RGBrgb(39, 67, 140)
HSLhsl(223, 56%, 35%)
HSVhsv(223, 72%, 55%)
CMYKcmyk(72.1%, 52.1%, 0%, 45.1%)
CIE-LABlab(30.25, 15.82, -43.75)
CIE-LCHlch(30.25, 46.52, 289.89°)
OKLaboklab(40.43% -0.0102 -0.1257)
OKLCHoklch(40.43% 0.126 265.3)
XYZxyz(7.5758, 6.3383, 25.6300)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27438C #8C7027
analogous
#27768C #27438C #3D278C
triadic
#27438C #8C2743 #438C27
tetradic
#27438C #8C2776 #8C7027 #278C3D
square
#27438C #8C2776 #8C7027 #278C3D
split-complementary
#27438C #8C3D27 #768C27
monochromatic
#0C152C #1A2C5C #27438C #345ABC #5C7CD2

Accessibility & contrast

On white

9.26
#27438C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27438C
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27438C#FFFFFF#000000##FFFFFF
##27438C1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174C8F
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #27438c;
/* rgb */ color: rgb(39, 67, 140);
/* oklch */ color: oklch(40.4% 0.126 265.3);
Tailwind
colors: {
  custom: {
    50: '#6f76ae',
    500: '#27438c',
    950: '#000000',
  },
}
SCSS
$custom: #27438c;
$custom-light: #6f76ae;
$custom-dark: #000000;
JSON
{
  "hex": "#27438c",
  "rgb": {
    "r": 39,
    "g": 67,
    "b": 140
  },
  "hsl": {
    "h": 223.366,
    "s": 56.425,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40433,
    "c": 0.12609,
    "h": 265.3
  },
  "luminance": 0.06339
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #27438C

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

Preview Lab → · Contrast checker → · Palette generator →

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