#27407D#27407D

#27407D is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.6% C 0.108 H 265.0°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#27407D
RGBrgb(39, 64, 125)
HSLhsl(223, 52%, 32%)
HSVhsv(223, 69%, 49%)
CMYKcmyk(68.8%, 48.8%, 0%, 51%)
CIE-LABlab(28.32, 12.06, -37.53)
CIE-LCHlch(28.32, 39.42, 287.81°)
OKLaboklab(38.63% -0.0094 -0.1074)
OKLCHoklch(38.63% 0.108 265)
XYZxyz(6.3705, 5.5782, 20.1390)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27407D #7D6427
analogous
#276B7D #27407D #39277D
triadic
#27407D #7D2740 #407D27
tetradic
#27407D #7D276B #7D6427 #277D39
square
#27407D #7D276B #7D6427 #277D39
split-complementary
#27407D #7D3927 #6B7D27
monochromatic
#0A1020 #18284E #27407D #3658AC #5577CA

Accessibility & contrast

On white

9.93
#27407D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#27407D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27407D
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27407D#FFFFFF#000000##FFFFFF
##27407D1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21477F
Deuteranopia (green-blind)
#0F3F7C
Tritanopia (blue-blind)
#004E58
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #27407d;
/* rgb */ color: rgb(39, 64, 125);
/* oklch */ color: oklch(38.6% 0.108 265.0);
Tailwind
colors: {
  custom: {
    50: '#6b74a3',
    500: '#27407d',
    950: '#000000',
  },
}
SCSS
$custom: #27407d;
$custom-light: #6b74a3;
$custom-dark: #000000;
JSON
{
  "hex": "#27407d",
  "rgb": {
    "r": 39,
    "g": 64,
    "b": 125
  },
  "hsl": {
    "h": 222.558,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38628,
    "c": 0.10785,
    "h": 265
  },
  "luminance": 0.05579
}

Semantic roles & 50–950 ramp

primary
#27407D
secondary
#AF9351
accent
#B24CDC
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #27407D

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

Preview Lab → · Contrast checker → · Palette generator →

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