#27498B#27498B

#27498B is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.7% C 0.117 H 262.1°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#27498B
RGBrgb(39, 73, 139)
HSLhsl(220, 56%, 35%)
HSVhsv(220, 72%, 55%)
CMYKcmyk(71.9%, 47.5%, 0%, 45.5%)
CIE-LABlab(31.94, 11.35, -40.41)
CIE-LCHlch(31.94, 41.97, 285.69°)
OKLaboklab(41.7% -0.0161 -0.1157)
OKLCHoklch(41.7% 0.117 262.1)
XYZxyz(7.8778, 7.0597, 25.3686)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27498B #8B6927
analogous
#277B8B #27498B #37278B
triadic
#27498B #8B2749 #498B27
tetradic
#27498B #8B277B #8B6927 #278B37
square
#27498B #8B277B #8B6927 #278B37
split-complementary
#27498B #8B3727 #7B8B27
monochromatic
#0C172B #1A305B #27498B #3462BB #5B83D1

Accessibility & contrast

On white

8.71
#27498B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#27498B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27498B
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27498B#FFFFFF#000000##FFFFFF
##27498B1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27508D
Deuteranopia (green-blind)
#12478A
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #27498b;
/* rgb */ color: rgb(39, 73, 139);
/* oklch */ color: oklch(41.7% 0.117 262.1);
Tailwind
colors: {
  custom: {
    50: '#6e7bad',
    500: '#27498b',
    950: '#000000',
  },
}
SCSS
$custom: #27498b;
$custom-light: #6e7bad;
$custom-dark: #000000;
JSON
{
  "hex": "#27498b",
  "rgb": {
    "r": 39,
    "g": 73,
    "b": 139
  },
  "hsl": {
    "h": 219.6,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41704,
    "c": 0.11685,
    "h": 262.1
  },
  "luminance": 0.07061
}

Semantic roles & 50–950 ramp

primary
#27498B
secondary
#B69658
accent
#AC48DF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #27498B

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

Preview Lab → · Contrast checker → · Palette generator →

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