#27188F#27188F

#27188F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.3% C 0.180 H 276.0°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#27188F
RGBrgb(39, 24, 143)
HSLhsl(248, 71%, 33%)
HSVhsv(248, 83%, 56%)
CMYKcmyk(72.7%, 83.2%, 0%, 43.9%)
CIE-LABlab(20.31, 43.89, -61.87)
CIE-LCHlch(20.31, 75.86, 305.35°)
OKLaboklab(33.26% 0.0188 -0.1788)
OKLCHoklch(33.26% 0.18 276)
XYZxyz(6.1196, 3.0672, 26.2508)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27188F #808F18
analogous
#18448F #27188F #62188F
triadic
#27188F #8F2718 #188F27
tetradic
#27188F #8F1844 #808F18 #188F62
square
#27188F #8F1844 #808F18 #188F62
split-complementary
#27188F #8F6218 #448F18
monochromatic
#0A0626 #190F5B #27188F #3521C3 #5642DF

Accessibility & contrast

On white

13.01
#27188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#27188F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27188F
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27188F#FFFFFF#000000##FFFFFF
##27188F1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003692
Deuteranopia (green-blind)
#002C8D
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #27188f;
/* rgb */ color: rgb(39, 24, 143);
/* oklch */ color: oklch(33.3% 0.180 276.0);
Tailwind
colors: {
  custom: {
    50: '#7359b1',
    500: '#27188f',
    950: '#000000',
  },
}
SCSS
$custom: #27188f;
$custom-light: #7359b1;
$custom-dark: #000000;
JSON
{
  "hex": "#27188f",
  "rgb": {
    "r": 39,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 247.563,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3326,
    "c": 0.17982,
    "h": 276
  },
  "luminance": 0.03068
}

Semantic roles & 50–950 ramp

primary
#27188F
secondary
#B0C043
accent
#EE3AD7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #27188F

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

Preview Lab → · Contrast checker → · Palette generator →

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