#27457D#27457D

#27457D is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.8% C 0.101 H 261.7°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#27457D
RGBrgb(39, 69, 125)
HSLhsl(219, 52%, 32%)
HSVhsv(219, 69%, 49%)
CMYKcmyk(68.8%, 44.8%, 0%, 51%)
CIE-LABlab(29.83, 8.64, -35.12)
CIE-LCHlch(29.83, 36.16, 283.82°)
OKLaboklab(39.79% -0.0146 -0.1003)
OKLCHoklch(39.79% 0.101 261.7)
XYZxyz(6.6652, 6.1676, 20.2373)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27457D #7D5F27
analogous
#27707D #27457D #34277D
triadic
#27457D #7D2745 #457D27
tetradic
#27457D #7D2770 #7D5F27 #277D34
square
#27457D #7D2770 #7D5F27 #277D34
split-complementary
#27457D #7D3427 #707D27
monochromatic
#0A1220 #182B4E #27457D #365FAC #557DCA

Accessibility & contrast

On white

9.40
#27457D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#27457D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27457D
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27457D#FFFFFF#000000##FFFFFF
##27457D1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4B7F
Deuteranopia (green-blind)
#1C437C
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #27457d;
/* rgb */ color: rgb(39, 69, 125);
/* oklch */ color: oklch(39.8% 0.101 261.7);
Tailwind
colors: {
  custom: {
    50: '#6b78a3',
    500: '#27457d',
    950: '#000000',
  },
}
SCSS
$custom: #27457d;
$custom-light: #6b78a3;
$custom-dark: #000000;
JSON
{
  "hex": "#27457d",
  "rgb": {
    "r": 39,
    "g": 69,
    "b": 125
  },
  "hsl": {
    "h": 219.07,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39787,
    "c": 0.10132,
    "h": 261.7
  },
  "luminance": 0.06168
}

Semantic roles & 50–950 ramp

primary
#27457D
secondary
#AF8E51
accent
#AA4CDC
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #27457D

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

Preview Lab → · Contrast checker → · Palette generator →

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