#27458A#27458A

#27458A is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.7% C 0.121 H 264.1°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#27458A
RGBrgb(39, 69, 138)
HSLhsl(222, 56%, 35%)
HSVhsv(222, 72%, 54%)
CMYKcmyk(71.7%, 50%, 0%, 45.9%)
CIE-LABlab(30.69, 13.68, -41.80)
CIE-LCHlch(30.69, 43.98, 288.12°)
OKLaboklab(40.73% -0.0124 -0.1199)
OKLCHoklch(40.73% 0.121 264.1)
XYZxyz(7.5507, 6.5218, 24.9007)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27458A #8A6C27
analogous
#27778A #27458A #3B278A
triadic
#27458A #8A2745 #458A27
tetradic
#27458A #8A2777 #8A6C27 #278A3B
square
#27458A #8A2777 #8A6C27 #278A3B
split-complementary
#27458A #8A3B27 #778A27
monochromatic
#0C152B #1A2D5A #27458A #345DBA #5B7ED1

Accessibility & contrast

On white

9.11
#27458A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#27458A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27458A
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27458A#FFFFFF#000000##FFFFFF
##27458A1.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4D8D
Deuteranopia (green-blind)
#024489
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #27458a;
/* rgb */ color: rgb(39, 69, 138);
/* oklch */ color: oklch(40.7% 0.121 264.1);
Tailwind
colors: {
  custom: {
    50: '#6e78ad',
    500: '#27458a',
    950: '#000000',
  },
}
SCSS
$custom: #27458a;
$custom-light: #6e78ad;
$custom-dark: #000000;
JSON
{
  "hex": "#27458a",
  "rgb": {
    "r": 39,
    "g": 69,
    "b": 138
  },
  "hsl": {
    "h": 221.818,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40725,
    "c": 0.12055,
    "h": 264.1
  },
  "luminance": 0.06523
}

Semantic roles & 50–950 ramp

primary
#27458A
secondary
#B69957
accent
#B249DF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #27458A

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

Preview Lab → · Contrast checker → · Palette generator →

#27458A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva