#27498E#27498E

#27498E is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.9% C 0.121 H 262.6°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#27498E
RGBrgb(39, 73, 142)
HSLhsl(220, 57%, 35%)
HSVhsv(220, 73%, 56%)
CMYKcmyk(72.5%, 48.6%, 0%, 44.3%)
CIE-LABlab(32.14, 12.52, -41.93)
CIE-LCHlch(32.14, 43.76, 286.63°)
OKLaboklab(41.92% -0.0156 -0.1202)
OKLCHoklch(41.92% 0.121 262.6)
XYZxyz(8.1000, 7.1486, 26.5389)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27498E #8E6C27
analogous
#277C8E #27498E #38278E
triadic
#27498E #8E2749 #498E27
tetradic
#27498E #8E277C #8E6C27 #278E38
square
#27498E #8E277C #8E6C27 #278E38
split-complementary
#27498E #8E3827 #7C8E27
monochromatic
#0D182E #1A305E #27498E #3462BE #5D84D2

Accessibility & contrast

On white

8.64
#27498E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#27498E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27498E
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27498E#FFFFFF#000000##FFFFFF
##27498E1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245191
Deuteranopia (green-blind)
#0A478D
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #27498e;
/* rgb */ color: rgb(39, 73, 142);
/* oklch */ color: oklch(41.9% 0.121 262.6);
Tailwind
colors: {
  custom: {
    50: '#6f7baf',
    500: '#27498e',
    950: '#000000',
  },
}
SCSS
$custom: #27498e;
$custom-light: #6f7baf;
$custom-dark: #000000;
JSON
{
  "hex": "#27498e",
  "rgb": {
    "r": 39,
    "g": 73,
    "b": 142
  },
  "hsl": {
    "h": 220.194,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41923,
    "c": 0.12121,
    "h": 262.6
  },
  "luminance": 0.07149
}

Semantic roles & 50–950 ramp

primary
#27498E
secondary
#B89859
accent
#AE48E0
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #27498E

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

Preview Lab → · Contrast checker → · Palette generator →

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