#27236E#27236E

#27236E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.3% C 0.125 H 278.7°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#27236E
RGBrgb(39, 35, 110)
HSLhsl(243, 52%, 28%)
HSVhsv(243, 68%, 43%)
CMYKcmyk(64.5%, 68.2%, 0%, 56.9%)
CIE-LABlab(19.05, 26.40, -42.99)
CIE-LCHlch(19.05, 50.45, 301.56°)
OKLaboklab(31.32% 0.0189 -0.1238)
OKLCHoklch(31.32% 0.125 278.7)
XYZxyz(4.2513, 2.7589, 15.0573)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27236E #6A6E23
analogous
#23446E #27236E #4C236E
triadic
#27236E #6E2723 #236E27
tetradic
#27236E #6E2344 #6A6E23 #236E4C
square
#27236E #6E2344 #6A6E23 #236E4C
split-complementary
#27236E #6E4C23 #446E23
monochromatic
#080717 #171440 #27236E #37329C #4E47C4

Accessibility & contrast

On white

13.53
#27236E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#27236E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27236E
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27236E#FFFFFF#000000##FFFFFF
##27236E1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003170
Deuteranopia (green-blind)
#002B6D
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #27236e;
/* rgb */ color: rgb(39, 35, 110);
/* oklch */ color: oklch(31.3% 0.125 278.7);
Tailwind
colors: {
  custom: {
    50: '#6a5e98',
    500: '#27236e',
    950: '#000000',
  },
}
SCSS
$custom: #27236e;
$custom-light: #6a5e98;
$custom-dark: #000000;
JSON
{
  "hex": "#27236e",
  "rgb": {
    "r": 39,
    "g": 35,
    "b": 110
  },
  "hsl": {
    "h": 243.2,
    "s": 51.724,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31317,
    "c": 0.12527,
    "h": 278.7
  },
  "luminance": 0.02759
}

Semantic roles & 50–950 ramp

primary
#27236E
secondary
#9DA14C
accent
#DB4DD4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #27236E

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

Preview Lab → · Contrast checker → · Palette generator →

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