#27489F#27489F

#27489F is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.0% C 0.147 H 265.1°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#27489F
RGBrgb(39, 72, 159)
HSLhsl(224, 61%, 39%)
HSVhsv(224, 75%, 62%)
CMYKcmyk(75.5%, 54.7%, 0%, 37.6%)
CIE-LABlab(33.07, 19.81, -50.77)
CIE-LCHlch(33.07, 54.50, 291.32°)
OKLaboklab(43.01% -0.0126 -0.1462)
OKLCHoklch(43.01% 0.147 265.1)
XYZxyz(9.4099, 7.5682, 33.7591)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27489F #9F7E27
analogous
#27849F #27489F #42279F
triadic
#27489F #9F2748 #489F27
tetradic
#27489F #9F2784 #9F7E27 #279F42
square
#27489F #9F2784 #9F7E27 #279F42
split-complementary
#27489F #9F4227 #849F27
monochromatic
#0F1B3D #1B326E #27489F #365FCE #6786DA

Accessibility & contrast

On white

8.35
#27489F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#27489F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27489F
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27489F#FFFFFF#000000##FFFFFF
##27489F1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0154A2
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #27489f;
/* rgb */ color: rgb(39, 72, 159);
/* oklch */ color: oklch(43.0% 0.147 265.1);
Tailwind
colors: {
  custom: {
    50: '#737abc',
    500: '#27489f',
    950: '#000000',
  },
}
SCSS
$custom: #27489f;
$custom-light: #737abc;
$custom-dark: #000000;
JSON
{
  "hex": "#27489f",
  "rgb": {
    "r": 39,
    "g": 72,
    "b": 159
  },
  "hsl": {
    "h": 223.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43012,
    "c": 0.14679,
    "h": 265.1
  },
  "luminance": 0.07569
}

Semantic roles & 50–950 ramp

primary
#27489F
secondary
#C0A662
accent
#B844E4
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #27489F

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

Preview Lab → · Contrast checker → · Palette generator →

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