#27244B#27244B

#27244B is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.5% C 0.070 H 284.6°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#27244B
RGBrgb(39, 36, 75)
HSLhsl(245, 35%, 22%)
HSVhsv(245, 52%, 29%)
CMYKcmyk(48%, 52%, 0%, 70.6%)
CIE-LABlab(16.51, 13.14, -23.83)
CIE-LCHlch(16.51, 27.21, 298.87°)
OKLaboklab(28.55% 0.0175 -0.0675)
OKLCHoklch(28.55% 0.07 284.6)
XYZxyz(2.7372, 2.2010, 6.9359)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27244B #484B24
analogous
#24354B #27244B #3B244B
triadic
#27244B #4B2724 #244B27
tetradic
#27244B #4B2435 #484B24 #244B3B
square
#27244B #4B2435 #484B24 #244B3B
split-complementary
#27244B #4B3B24 #354B24
monochromatic
#0B0A15 #111022 #27244B #3D3874 #524C9E

Accessibility & contrast

On white

14.58
#27244B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#27244B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27244B
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27244B#FFFFFF#000000##FFFFFF
##27244B1.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152A4C
Deuteranopia (green-blind)
#13284A
Tritanopia (blue-blind)
#1C2C33
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #27244b;
/* rgb */ color: rgb(39, 36, 75);
/* oklch */ color: oklch(28.5% 0.070 284.6);
Tailwind
colors: {
  custom: {
    50: '#645e7d',
    500: '#27244b',
    950: '#000000',
  },
}
SCSS
$custom: #27244b;
$custom-light: #645e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#27244b",
  "rgb": {
    "r": 39,
    "g": 36,
    "b": 75
  },
  "hsl": {
    "h": 244.615,
    "s": 35.135,
    "l": 21.765
  },
  "oklch": {
    "l": 0.28545,
    "c": 0.06974,
    "h": 284.6
  },
  "luminance": 0.02201
}

Semantic roles & 50–950 ramp

primary
#27244B
secondary
#7B7E4C
accent
#CB5DC3
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#05040A
muted
#7A797C

Preview Lab

Preview with #27244B

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

Preview Lab → · Contrast checker → · Palette generator →

#27244B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva