#27225D#27225D

#27225D is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.6% C 0.102 H 282.0°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#27225D
RGBrgb(39, 34, 93)
HSLhsl(245, 46%, 25%)
HSVhsv(245, 63%, 36%)
CMYKcmyk(58.1%, 63.4%, 0%, 63.5%)
CIE-LABlab(17.30, 20.96, -34.69)
CIE-LCHlch(17.30, 40.52, 301.14°)
OKLaboklab(29.57% 0.0212 -0.0994)
OKLCHoklch(29.57% 0.102 282)
XYZxyz(3.3839, 2.3655, 10.6321)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27225D #585D22
analogous
#223A5D #27225D #45225D
triadic
#27225D #5D2722 #225D27
tetradic
#27225D #5D223A #585D22 #225D45
square
#27225D #5D223A #585D22 #225D45
split-complementary
#27225D #5D4522 #3A5D22
monochromatic
#090816 #141230 #27225D #3A328A #4D43B7

Accessibility & contrast

On white

14.25
#27225D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#27225D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27225D
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27225D#FFFFFF#000000##FFFFFF
##27225D1.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5F
Deuteranopia (green-blind)
#00285C
Tritanopia (blue-blind)
#0F303B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #27225d;
/* rgb */ color: rgb(39, 34, 93);
/* oklch */ color: oklch(29.6% 0.102 282.0);
Tailwind
colors: {
  custom: {
    50: '#675d8b',
    500: '#27225d',
    950: '#000000',
  },
}
SCSS
$custom: #27225d;
$custom-light: #675d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#27225d",
  "rgb": {
    "r": 39,
    "g": 34,
    "b": 93
  },
  "hsl": {
    "h": 245.085,
    "s": 46.457,
    "l": 24.902
  },
  "oklch": {
    "l": 0.29568,
    "c": 0.10166,
    "h": 282
  },
  "luminance": 0.02366
}

Semantic roles & 50–950 ramp

primary
#27225D
secondary
#8B914A
accent
#D652CB
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #27225D

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

Preview Lab → · Contrast checker → · Palette generator →

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