#27236F#27236F

#27236F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.4% C 0.127 H 278.5°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#27236F
RGBrgb(39, 35, 111)
HSLhsl(243, 52%, 29%)
HSVhsv(243, 68%, 44%)
CMYKcmyk(64.9%, 68.5%, 0%, 56.5%)
CIE-LABlab(19.14, 26.76, -43.49)
CIE-LCHlch(19.14, 51.06, 301.61°)
OKLaboklab(31.41% 0.0188 -0.1253)
OKLCHoklch(31.41% 0.127 278.5)
XYZxyz(4.3061, 2.7808, 15.3457)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27236F #6B6F23
analogous
#23456F #27236F #4D236F
triadic
#27236F #6F2723 #236F27
tetradic
#27236F #6F2345 #6B6F23 #236F4D
square
#27236F #6F2345 #6B6F23 #236F4D
split-complementary
#27236F #6F4D23 #456F23
monochromatic
#080717 #171440 #27236F #37329E #4E47C5

Accessibility & contrast

On white

13.49
#27236F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#27236F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27236F
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27236F#FFFFFF#000000##FFFFFF
##27236F1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #27236f;
/* rgb */ color: rgb(39, 35, 111);
/* oklch */ color: oklch(31.4% 0.127 278.5);
Tailwind
colors: {
  custom: {
    50: '#6b5e99',
    500: '#27236f',
    950: '#000000',
  },
}
SCSS
$custom: #27236f;
$custom-light: #6b5e99;
$custom-dark: #000000;
JSON
{
  "hex": "#27236f",
  "rgb": {
    "r": 39,
    "g": 35,
    "b": 111
  },
  "hsl": {
    "h": 243.158,
    "s": 52.055,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31413,
    "c": 0.1267,
    "h": 278.5
  },
  "luminance": 0.02781
}

Semantic roles & 50–950 ramp

primary
#27236F
secondary
#9EA24C
accent
#DB4CD4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #27236F

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

Preview Lab → · Contrast checker → · Palette generator →

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