#27458E#27458E

#27458E is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.0% C 0.126 H 264.6°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#27458E
RGBrgb(39, 69, 142)
HSLhsl(223, 57%, 35%)
HSVhsv(223, 73%, 56%)
CMYKcmyk(72.5%, 51.4%, 0%, 44.3%)
CIE-LABlab(30.97, 15.24, -43.81)
CIE-LCHlch(30.97, 46.38, 289.18°)
OKLaboklab(41.03% -0.0118 -0.1258)
OKLCHoklch(41.03% 0.126 264.6)
XYZxyz(7.8456, 6.6398, 26.4541)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27458E #8E7027
analogous
#27788E #27458E #3C278E
triadic
#27458E #8E2745 #458E27
tetradic
#27458E #8E2778 #8E7027 #278E3C
square
#27458E #8E2778 #8E7027 #278E3C
split-complementary
#27458E #8E3C27 #788E27
monochromatic
#0D162E #1A2E5E #27458E #345CBE #5D7FD2

Accessibility & contrast

On white

9.02
#27458E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#27458E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27458E
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27458E#FFFFFF#000000##FFFFFF
##27458E1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4E91
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #27458e;
/* rgb */ color: rgb(39, 69, 142);
/* oklch */ color: oklch(41.0% 0.126 264.6);
Tailwind
colors: {
  custom: {
    50: '#6f78b0',
    500: '#27458e',
    950: '#000000',
  },
}
SCSS
$custom: #27458e;
$custom-light: #6f78b0;
$custom-dark: #000000;
JSON
{
  "hex": "#27458e",
  "rgb": {
    "r": 39,
    "g": 69,
    "b": 142
  },
  "hsl": {
    "h": 222.524,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41028,
    "c": 0.12639,
    "h": 264.6
  },
  "luminance": 0.06641
}

Semantic roles & 50–950 ramp

primary
#27458E
secondary
#B89C59
accent
#B448E0
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #27458E

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

Preview Lab → · Contrast checker → · Palette generator →

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