#27168F#27168F

#27168F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.0% C 0.181 H 276.2°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#27168F
RGBrgb(39, 22, 143)
HSLhsl(248, 73%, 32%)
HSVhsv(248, 85%, 56%)
CMYKcmyk(72.7%, 84.6%, 0%, 43.9%)
CIE-LABlab(19.99, 44.82, -62.40)
CIE-LCHlch(19.99, 76.82, 305.69°)
OKLaboklab(33.04% 0.0195 -0.1803)
OKLCHoklch(33.04% 0.181 276.2)
XYZxyz(6.0799, 2.9877, 26.2376)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27168F #7E8F16
analogous
#16418F #27168F #64168F
triadic
#27168F #8F2716 #168F27
tetradic
#27168F #8F1641 #7E8F16 #168F64
square
#27168F #8F1641 #7E8F16 #168F64
split-complementary
#27168F #8F6416 #418F16
monochromatic
#0A0625 #190E5A #27168F #351EC4 #553EE1

Accessibility & contrast

On white

13.14
#27168F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#27168F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27168F
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27168F#FFFFFF#000000##FFFFFF
##27168F1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003592
Deuteranopia (green-blind)
#002B8D
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #27168f;
/* rgb */ color: rgb(39, 22, 143);
/* oklch */ color: oklch(33.0% 0.181 276.2);
Tailwind
colors: {
  custom: {
    50: '#7358b1',
    500: '#27168f',
    950: '#000000',
  },
}
SCSS
$custom: #27168f;
$custom-light: #7358b1;
$custom-dark: #000000;
JSON
{
  "hex": "#27168f",
  "rgb": {
    "r": 39,
    "g": 22,
    "b": 143
  },
  "hsl": {
    "h": 248.43,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33042,
    "c": 0.18139,
    "h": 276.2
  },
  "luminance": 0.02988
}

Semantic roles & 50–950 ramp

primary
#27168F
secondary
#AFC13F
accent
#F038D6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #27168F

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

Preview Lab → · Contrast checker → · Palette generator →

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