#27268F#27268F

#27268F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.167 H 274.1°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#27268F
RGBrgb(39, 38, 143)
HSLhsl(241, 58%, 35%)
HSVhsv(241, 73%, 56%)
CMYKcmyk(72.7%, 73.4%, 0%, 43.9%)
CIE-LABlab(23.00, 36.22, -57.43)
CIE-LCHlch(23.00, 67.90, 302.24°)
OKLaboklab(35.15% 0.0119 -0.1661)
OKLCHoklch(35.15% 0.167 274.1)
XYZxyz(6.4861, 3.8001, 26.3729)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27268F #8E8F26
analogous
#265A8F #27268F #5B268F
triadic
#27268F #8F2726 #268F27
tetradic
#27268F #8F265A #8E8F26 #268F5B
square
#27268F #8F265A #8E8F26 #268F5B
split-complementary
#27268F #8F5B26 #5A8F26
monochromatic
#0D0C2E #1A195F #27268F #3433BF #5D5CD4

Accessibility & contrast

On white

11.93
#27268F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#27268F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27268F
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27268F#FFFFFF#000000##FFFFFF
##27268F1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00328D
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #27268f;
/* rgb */ color: rgb(39, 38, 143);
/* oklch */ color: oklch(35.2% 0.167 274.1);
Tailwind
colors: {
  custom: {
    50: '#7261b1',
    500: '#27268f',
    950: '#000000',
  },
}
SCSS
$custom: #27268f;
$custom-light: #7261b1;
$custom-dark: #000000;
JSON
{
  "hex": "#27268f",
  "rgb": {
    "r": 39,
    "g": 38,
    "b": 143
  },
  "hsl": {
    "h": 240.571,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35152,
    "c": 0.1665,
    "h": 274.1
  },
  "luminance": 0.03801
}

Semantic roles & 50–950 ramp

primary
#27268F
secondary
#B8B958
accent
#E147E0
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #27268F

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

Preview Lab → · Contrast checker → · Palette generator →

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