#272AB3#272AB3

#272AB3 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.6% C 0.207 H 271.0°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#272AB3
RGBrgb(39, 42, 179)
HSLhsl(239, 64%, 43%)
HSVhsv(239, 78%, 70%)
CMYKcmyk(78.2%, 76.5%, 0%, 29.8%)
CIE-LABlab(27.68, 46.15, -71.59)
CIE-LCHlch(27.68, 85.18, 302.81°)
OKLaboklab(39.63% 0.0036 -0.2073)
OKLCHoklch(39.63% 0.207 271)
XYZxyz(9.7986, 5.3408, 43.1536)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272AB3 #B3B027
analogous
#2770B3 #272AB3 #6A27B3
triadic
#272AB3 #B3272A #2AB327
tetradic
#272AB3 #B32770 #B3B027 #27B36A
square
#272AB3 #B32770 #B3B027 #27B36A
split-complementary
#272AB3 #B36A27 #70B327
monochromatic
#11124E #1C1E81 #272AB3 #4145D6 #7476E1

Accessibility & contrast

On white

10.15
#272AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#272AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272AB3
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272AB3#FFFFFF#000000##FFFFFF
##272AB31.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B7
Deuteranopia (green-blind)
#003AB1
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #272ab3;
/* rgb */ color: rgb(39, 42, 179);
/* oklch */ color: oklch(39.6% 0.207 271.0);
Tailwind
colors: {
  custom: {
    50: '#7a66cb',
    500: '#272ab3',
    950: '#000000',
  },
}
SCSS
$custom: #272ab3;
$custom-light: #7a66cb;
$custom-dark: #000000;
JSON
{
  "hex": "#272ab3",
  "rgb": {
    "r": 39,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 238.714,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.39626,
    "c": 0.20733,
    "h": 271
  },
  "luminance": 0.05342
}

Semantic roles & 50–950 ramp

primary
#272AB3
secondary
#C8C66E
accent
#E441E7
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #272AB3

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

Preview Lab → · Contrast checker → · Palette generator →

#272AB3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva