#27355E#27355E

#27355E is a dark, moderate blue. Relative luminance 0.038; OKLCH L 33.9% C 0.075 H 268.1°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#27355E
RGBrgb(39, 53, 94)
HSLhsl(225, 41%, 26%)
HSVhsv(225, 59%, 37%)
CMYKcmyk(58.5%, 43.6%, 0%, 63.1%)
CIE-LABlab(22.95, 7.89, -26.28)
CIE-LCHlch(22.95, 27.44, 286.72°)
OKLaboklab(33.85% -0.0025 -0.0745)
OKLCHoklch(33.85% 0.075 268.1)
XYZxyz(4.1295, 3.7854, 11.1005)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27355E #5E5027
analogous
#27505E #27355E #34275E
triadic
#27355E #5E2735 #355E27
tetradic
#27355E #5E2750 #5E5027 #275E34
square
#27355E #5E2750 #5E5027 #275E34
split-complementary
#27355E #5E3427 #505E27
monochromatic
#090C16 #151D33 #27355E #394D89 #4B66B4

Accessibility & contrast

On white

11.95
#27355E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#27355E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27355E
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27355E#FFFFFF#000000##FFFFFF
##27355E1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243960
Deuteranopia (green-blind)
#1D345D
Tritanopia (blue-blind)
#093E45
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #27355e;
/* rgb */ color: rgb(39, 53, 94);
/* oklch */ color: oklch(33.9% 0.075 268.1);
Tailwind
colors: {
  custom: {
    50: '#666b8c',
    500: '#27355e',
    950: '#000000',
  },
}
SCSS
$custom: #27355e;
$custom-light: #666b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#27355e",
  "rgb": {
    "r": 39,
    "g": 53,
    "b": 94
  },
  "hsl": {
    "h": 224.727,
    "s": 41.353,
    "l": 26.078
  },
  "oklch": {
    "l": 0.33854,
    "c": 0.07459,
    "h": 268.1
  },
  "luminance": 0.03786
}

Semantic roles & 50–950 ramp

primary
#27355E
secondary
#918050
accent
#B257D1
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #27355E

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

Preview Lab → · Contrast checker → · Palette generator →

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