#27239D#27239D

#27239D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.2% C 0.187 H 273.3°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#27239D
RGBrgb(39, 35, 157)
HSLhsl(242, 64%, 38%)
HSVhsv(242, 78%, 62%)
CMYKcmyk(75.2%, 77.7%, 0%, 38.4%)
CIE-LABlab(23.89, 42.72, -64.58)
CIE-LCHlch(23.89, 77.43, 303.48°)
OKLaboklab(36.23% 0.0107 -0.1869)
OKLCHoklch(36.23% 0.187 273.3)
XYZxyz(7.5215, 4.0669, 32.2804)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27239D #999D23
analogous
#235C9D #27239D #64239D
triadic
#27239D #9D2723 #239D27
tetradic
#27239D #9D235C #999D23 #239D64
square
#27239D #9D235C #999D23 #239D64
split-complementary
#27239D #9D6423 #5C9D23
monochromatic
#0E0D39 #1B186B #27239D #332ECF #635FDB

Accessibility & contrast

On white

11.58
#27239D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#27239D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27239D
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27239D#FFFFFF#000000##FFFFFF
##27239D1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA0
Deuteranopia (green-blind)
#00339B
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #27239d;
/* rgb */ color: rgb(39, 35, 157);
/* oklch */ color: oklch(36.2% 0.187 273.3);
Tailwind
colors: {
  custom: {
    50: '#7560bb',
    500: '#27239d',
    950: '#000000',
  },
}
SCSS
$custom: #27239d;
$custom-light: #7560bb;
$custom-dark: #000000;
JSON
{
  "hex": "#27239d",
  "rgb": {
    "r": 39,
    "g": 35,
    "b": 157
  },
  "hsl": {
    "h": 241.967,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36233,
    "c": 0.18717,
    "h": 273.3
  },
  "luminance": 0.04068
}

Semantic roles & 50–950 ramp

primary
#27239D
secondary
#BDC05C
accent
#E741E1
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #27239D

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

Preview Lab → · Contrast checker → · Palette generator →

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