#27438F#27438F

#27438F is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.7% C 0.130 H 265.6°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#27438F
RGBrgb(39, 67, 143)
HSLhsl(224, 57%, 36%)
HSVhsv(224, 73%, 56%)
CMYKcmyk(72.7%, 53.1%, 0%, 43.9%)
CIE-LABlab(30.47, 16.99, -45.24)
CIE-LCHlch(30.47, 48.33, 290.58°)
OKLaboklab(40.67% -0.0099 -0.1301)
OKLCHoklch(40.67% 0.13 265.6)
XYZxyz(7.8000, 6.4280, 26.8109)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27438F #8F7327
analogous
#27778F #27438F #3F278F
triadic
#27438F #8F2743 #438F27
tetradic
#27438F #8F2777 #8F7327 #278F3F
square
#27438F #8F2777 #8F7327 #278F3F
split-complementary
#27438F #8F3F27 #778F27
monochromatic
#0D162F #1A2C5F #27438F #345ABF #5D7DD3

Accessibility & contrast

On white

9.19
#27438F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#27438F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27438F
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27438F#FFFFFF#000000##FFFFFF
##27438F1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124D92
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #27438f;
/* rgb */ color: rgb(39, 67, 143);
/* oklch */ color: oklch(40.7% 0.130 265.6);
Tailwind
colors: {
  custom: {
    50: '#6f76b0',
    500: '#27438f',
    950: '#000000',
  },
}
SCSS
$custom: #27438f;
$custom-light: #6f76b0;
$custom-dark: #000000;
JSON
{
  "hex": "#27438f",
  "rgb": {
    "r": 39,
    "g": 67,
    "b": 143
  },
  "hsl": {
    "h": 223.846,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40668,
    "c": 0.13044,
    "h": 265.6
  },
  "luminance": 0.06429
}

Semantic roles & 50–950 ramp

primary
#27438F
secondary
#B89F5A
accent
#B747E0
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080811
muted
#7B7B80

Preview Lab

Preview with #27438F

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

Preview Lab → · Contrast checker → · Palette generator →

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