#27458B#27458B

#27458B is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.8% C 0.122 H 264.2°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#27458B
RGBrgb(39, 69, 139)
HSLhsl(222, 56%, 35%)
HSVhsv(222, 72%, 55%)
CMYKcmyk(71.9%, 50.4%, 0%, 45.5%)
CIE-LABlab(30.76, 14.07, -42.31)
CIE-LCHlch(30.76, 44.58, 288.39°)
OKLaboklab(40.8% -0.0122 -0.1214)
OKLCHoklch(40.8% 0.122 264.2)
XYZxyz(7.6234, 6.5509, 25.2838)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27458B #8B6D27
analogous
#27778B #27458B #3B278B
triadic
#27458B #8B2745 #458B27
tetradic
#27458B #8B2777 #8B6D27 #278B3B
square
#27458B #8B2777 #8B6D27 #278B3B
split-complementary
#27458B #8B3B27 #778B27
monochromatic
#0C162B #1A2D5B #27458B #345DBB #5B7FD1

Accessibility & contrast

On white

9.09
#27458B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#27458B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27458B
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27458B#FFFFFF#000000##FFFFFF
##27458B1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4D8E
Deuteranopia (green-blind)
#00448A
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #27458b;
/* rgb */ color: rgb(39, 69, 139);
/* oklch */ color: oklch(40.8% 0.122 264.2);
Tailwind
colors: {
  custom: {
    50: '#6e78ad',
    500: '#27458b',
    950: '#000000',
  },
}
SCSS
$custom: #27458b;
$custom-light: #6e78ad;
$custom-dark: #000000;
JSON
{
  "hex": "#27458b",
  "rgb": {
    "r": 39,
    "g": 69,
    "b": 139
  },
  "hsl": {
    "h": 222,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.408,
    "c": 0.12202,
    "h": 264.2
  },
  "luminance": 0.06552
}

Semantic roles & 50–950 ramp

primary
#27458B
secondary
#B69A58
accent
#B248DF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #27458B

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

Preview Lab → · Contrast checker → · Palette generator →

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