#27498D#27498D

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

Color values

HEX#27498D
RGBrgb(39, 73, 141)
HSLhsl(220, 57%, 35%)
HSVhsv(220, 72%, 55%)
CMYKcmyk(72.3%, 48.2%, 0%, 44.7%)
CIE-LABlab(32.08, 12.13, -41.42)
CIE-LCHlch(32.08, 43.16, 286.32°)
OKLaboklab(41.85% -0.0157 -0.1187)
OKLCHoklch(41.85% 0.12 262.5)
XYZxyz(8.0253, 7.1187, 26.1452)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27498D #8D6B27
analogous
#277C8D #27498D #38278D
triadic
#27498D #8D2749 #498D27
tetradic
#27498D #8D277C #8D6B27 #278D38
square
#27498D #8D277C #8D6B27 #278D38
split-complementary
#27498D #8D3827 #7C8D27
monochromatic
#0C172D #1A305D #27498D #3462BD #5C84D2

Accessibility & contrast

On white

8.66
#27498D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27498D
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27498D#FFFFFF#000000##FFFFFF
##27498D1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255090
Deuteranopia (green-blind)
#0D478C
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #27498d;
/* rgb */ color: rgb(39, 73, 141);
/* oklch */ color: oklch(41.8% 0.120 262.5);
Tailwind
colors: {
  custom: {
    50: '#6f7baf',
    500: '#27498d',
    950: '#000000',
  },
}
SCSS
$custom: #27498d;
$custom-light: #6f7baf;
$custom-dark: #000000;
JSON
{
  "hex": "#27498d",
  "rgb": {
    "r": 39,
    "g": 73,
    "b": 141
  },
  "hsl": {
    "h": 220,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41849,
    "c": 0.11976,
    "h": 262.5
  },
  "luminance": 0.0712
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #27498D

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

Preview Lab → · Contrast checker → · Palette generator →

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