#27285D#27285D

#27285D is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.8% C 0.093 H 278.7°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#27285D
RGBrgb(39, 40, 93)
HSLhsl(239, 41%, 26%)
HSVhsv(239, 58%, 36%)
CMYKcmyk(58.1%, 57%, 0%, 63.5%)
CIE-LABlab(18.97, 16.74, -31.99)
CIE-LCHlch(18.97, 36.10, 297.62°)
OKLaboklab(30.81% 0.0139 -0.0914)
OKLCHoklch(30.81% 0.093 278.7)
XYZxyz(3.5707, 2.7390, 10.6943)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27285D #5D5C27
analogous
#27435D #27285D #41275D
triadic
#27285D #5D2728 #285D27
tetradic
#27285D #5D2743 #5D5C27 #275D41
square
#27285D #5D2743 #5D5C27 #275D41
split-complementary
#27285D #5D4127 #435D27
monochromatic
#090916 #151532 #27285D #393B88 #4B4DB3

Accessibility & contrast

On white

13.57
#27285D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#27285D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27285D
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27285D#FFFFFF#000000##FFFFFF
##27285D1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A305F
Deuteranopia (green-blind)
#032C5C
Tritanopia (blue-blind)
#0E343E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #27285d;
/* rgb */ color: rgb(39, 40, 93);
/* oklch */ color: oklch(30.8% 0.093 278.7);
Tailwind
colors: {
  custom: {
    50: '#66618b',
    500: '#27285d',
    950: '#000000',
  },
}
SCSS
$custom: #27285d;
$custom-light: #66618b;
$custom-dark: #000000;
JSON
{
  "hex": "#27285d",
  "rgb": {
    "r": 39,
    "g": 40,
    "b": 93
  },
  "hsl": {
    "h": 238.889,
    "s": 40.909,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30807,
    "c": 0.09251,
    "h": 278.7
  },
  "luminance": 0.02739
}

Semantic roles & 50–950 ramp

primary
#27285D
secondary
#908F50
accent
#CE57D1
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #27285D

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

Preview Lab → · Contrast checker → · Palette generator →

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