#27236A#27236A

#27236A is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.9% C 0.120 H 279.3°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#27236A
RGBrgb(39, 35, 106)
HSLhsl(243, 50%, 28%)
HSVhsv(243, 67%, 42%)
CMYKcmyk(63.2%, 67%, 0%, 58.4%)
CIE-LABlab(18.69, 24.96, -40.99)
CIE-LCHlch(18.69, 47.99, 301.34°)
OKLaboklab(30.94% 0.0193 -0.1179)
OKLCHoklch(30.94% 0.12 279.3)
XYZxyz(4.0384, 2.6737, 13.9361)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27236A #666A23
analogous
#23436A #27236A #4A236A
triadic
#27236A #6A2723 #236A27
tetradic
#27236A #6A2343 #666A23 #236A4A
square
#27236A #6A2343 #666A23 #236A4A
split-complementary
#27236A #6A4A23 #436A23
monochromatic
#080817 #16143C #27236A #383298 #4D46C2

Accessibility & contrast

On white

13.68
#27236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#27236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27236A
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27236A#FFFFFF#000000##FFFFFF
##27236A1.0013.681.5313.68
#FFFFFF13.681.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306C
Deuteranopia (green-blind)
#002B69
Tritanopia (blue-blind)
#003543
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #27236a;
/* rgb */ color: rgb(39, 35, 106);
/* oklch */ color: oklch(30.9% 0.120 279.3);
Tailwind
colors: {
  custom: {
    50: '#695e95',
    500: '#27236a',
    950: '#000000',
  },
}
SCSS
$custom: #27236a;
$custom-light: #695e95;
$custom-dark: #000000;
JSON
{
  "hex": "#27236a",
  "rgb": {
    "r": 39,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 243.38,
    "s": 50.355,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30938,
    "c": 0.11952,
    "h": 279.3
  },
  "luminance": 0.02674
}

Semantic roles & 50–950 ramp

primary
#27236A
secondary
#999D4B
accent
#DA4ED2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #27236A

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

Preview Lab → · Contrast checker → · Palette generator →

#27236A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva