#27498F#27498F

#27498F is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.0% C 0.123 H 262.8°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#27498F
RGBrgb(39, 73, 143)
HSLhsl(220, 57%, 36%)
HSVhsv(220, 73%, 56%)
CMYKcmyk(72.7%, 49%, 0%, 43.9%)
CIE-LABlab(32.21, 12.91, -42.43)
CIE-LCHlch(32.21, 44.35, 286.92°)
OKLaboklab(42% -0.0154 -0.1217)
OKLCHoklch(42% 0.123 262.8)
XYZxyz(8.1754, 7.1787, 26.9361)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27498F #8F6D27
analogous
#277D8F #27498F #39278F
triadic
#27498F #8F2749 #498F27
tetradic
#27498F #8F277D #8F6D27 #278F39
square
#27498F #8F277D #8F6D27 #278F39
split-complementary
#27498F #8F3927 #7D8F27
monochromatic
#0D182F #1A305F #27498F #3462BF #5D84D3

Accessibility & contrast

On white

8.62
#27498F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#27498F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27498F
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27498F#FFFFFF#000000##FFFFFF
##27498F1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235192
Deuteranopia (green-blind)
#07478E
Tritanopia (blue-blind)
#005965
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #27498f;
/* rgb */ color: rgb(39, 73, 143);
/* oklch */ color: oklch(42.0% 0.123 262.8);
Tailwind
colors: {
  custom: {
    50: '#6f7bb0',
    500: '#27498f',
    950: '#000000',
  },
}
SCSS
$custom: #27498f;
$custom-light: #6f7bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#27498f",
  "rgb": {
    "r": 39,
    "g": 73,
    "b": 143
  },
  "hsl": {
    "h": 220.385,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41996,
    "c": 0.12266,
    "h": 262.8
  },
  "luminance": 0.0718
}

Semantic roles & 50–950 ramp

primary
#27498F
secondary
#B8995A
accent
#AE47E0
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #27498F

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

Preview Lab → · Contrast checker → · Palette generator →

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