#27498C#27498C

#27498C is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.8% C 0.118 H 262.3°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#27498C
RGBrgb(39, 73, 140)
HSLhsl(220, 56%, 35%)
HSVhsv(220, 72%, 55%)
CMYKcmyk(72.1%, 47.9%, 0%, 45.1%)
CIE-LABlab(32.01, 11.74, -40.92)
CIE-LCHlch(32.01, 42.57, 286.01°)
OKLaboklab(41.78% -0.0159 -0.1172)
OKLCHoklch(41.78% 0.118 262.3)
XYZxyz(7.9512, 7.0890, 25.7551)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27498C #8C6A27
analogous
#277C8C #27498C #37278C
triadic
#27498C #8C2749 #498C27
tetradic
#27498C #8C277C #8C6A27 #278C37
square
#27498C #8C277C #8C6A27 #278C37
split-complementary
#27498C #8C3727 #7C8C27
monochromatic
#0C172C #1A305C #27498C #3462BC #5C83D2

Accessibility & contrast

On white

8.68
#27498C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#27498C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27498C
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27498C#FFFFFF#000000##FFFFFF
##27498C1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26508F
Deuteranopia (green-blind)
#10478B
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #27498c;
/* rgb */ color: rgb(39, 73, 140);
/* oklch */ color: oklch(41.8% 0.118 262.3);
Tailwind
colors: {
  custom: {
    50: '#6e7bae',
    500: '#27498c',
    950: '#000000',
  },
}
SCSS
$custom: #27498c;
$custom-light: #6e7bae;
$custom-dark: #000000;
JSON
{
  "hex": "#27498c",
  "rgb": {
    "r": 39,
    "g": 73,
    "b": 140
  },
  "hsl": {
    "h": 219.802,
    "s": 56.425,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41777,
    "c": 0.1183,
    "h": 262.3
  },
  "luminance": 0.0709
}

Semantic roles & 50–950 ramp

primary
#27498C
secondary
#B79758
accent
#AD48E0
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #27498C

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

Preview Lab → · Contrast checker → · Palette generator →

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