#27458D#27458D

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

Color values

HEX#27458D
RGBrgb(39, 69, 141)
HSLhsl(222, 57%, 35%)
HSVhsv(222, 72%, 55%)
CMYKcmyk(72.3%, 51.1%, 0%, 44.7%)
CIE-LABlab(30.90, 14.85, -43.31)
CIE-LCHlch(30.90, 45.78, 288.92°)
OKLaboklab(40.95% -0.012 -0.1243)
OKLCHoklch(40.95% 0.125 264.5)
XYZxyz(7.7708, 6.6099, 26.0604)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27458D #8D6F27
analogous
#27788D #27458D #3C278D
triadic
#27458D #8D2745 #458D27
tetradic
#27458D #8D2778 #8D6F27 #278D3C
square
#27458D #8D2778 #8D6F27 #278D3C
split-complementary
#27458D #8D3C27 #788D27
monochromatic
#0C162D #1A2E5D #27458D #345CBD #5C7FD2

Accessibility & contrast

On white

9.04
#27458D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#27458D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27458D
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27458D#FFFFFF#000000##FFFFFF
##27458D1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #27458d;
/* rgb */ color: rgb(39, 69, 141);
/* oklch */ color: oklch(41.0% 0.125 264.5);
Tailwind
colors: {
  custom: {
    50: '#6f78af',
    500: '#27458d',
    950: '#000000',
  },
}
SCSS
$custom: #27458d;
$custom-light: #6f78af;
$custom-dark: #000000;
JSON
{
  "hex": "#27458d",
  "rgb": {
    "r": 39,
    "g": 69,
    "b": 141
  },
  "hsl": {
    "h": 222.353,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40952,
    "c": 0.12492,
    "h": 264.5
  },
  "luminance": 0.06611
}

Semantic roles & 50–950 ramp

primary
#27458D
secondary
#B79B59
accent
#B348E0
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #27458D

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

Preview Lab → · Contrast checker → · Palette generator →

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