#27458F#27458F

#27458F is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.1% C 0.128 H 264.7°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#27458F
RGBrgb(39, 69, 143)
HSLhsl(223, 57%, 36%)
HSVhsv(223, 73%, 56%)
CMYKcmyk(72.7%, 51.7%, 0%, 43.9%)
CIE-LABlab(31.04, 15.63, -44.31)
CIE-LCHlch(31.04, 46.98, 289.43°)
OKLaboklab(41.11% -0.0117 -0.1273)
OKLCHoklch(41.11% 0.128 264.7)
XYZxyz(7.9210, 6.6699, 26.8512)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27458F #8F7127
analogous
#27798F #27458F #3D278F
triadic
#27458F #8F2745 #458F27
tetradic
#27458F #8F2779 #8F7127 #278F3D
square
#27458F #8F2779 #8F7127 #278F3D
split-complementary
#27458F #8F3D27 #798F27
monochromatic
#0D172F #1A2E5F #27458F #345CBF #5D7FD3

Accessibility & contrast

On white

9.00
#27458F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27458F
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27458F#FFFFFF#000000##FFFFFF
##27458F1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194E92
Deuteranopia (green-blind)
#00458E
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #27458f;
/* rgb */ color: rgb(39, 69, 143);
/* oklch */ color: oklch(41.1% 0.128 264.7);
Tailwind
colors: {
  custom: {
    50: '#6f78b0',
    500: '#27458f',
    950: '#000000',
  },
}
SCSS
$custom: #27458f;
$custom-light: #6f78b0;
$custom-dark: #000000;
JSON
{
  "hex": "#27458f",
  "rgb": {
    "r": 39,
    "g": 69,
    "b": 143
  },
  "hsl": {
    "h": 222.692,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41105,
    "c": 0.12783,
    "h": 264.7
  },
  "luminance": 0.06671
}

Semantic roles & 50–950 ramp

primary
#27458F
secondary
#B89D5A
accent
#B447E0
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #27458F

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

Preview Lab → · Contrast checker → · Palette generator →

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