#272BB1#272BB1

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

Color values

HEX#272BB1
RGBrgb(39, 43, 177)
HSLhsl(238, 64%, 42%)
HSVhsv(238, 78%, 69%)
CMYKcmyk(78%, 75.7%, 0%, 30.6%)
CIE-LABlab(27.66, 44.93, -70.43)
CIE-LCHlch(27.66, 83.54, 302.53°)
OKLaboklab(39.55% 0.0036 -0.2039)
OKLCHoklch(39.55% 0.204 271)
XYZxyz(9.6337, 5.3323, 42.1080)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272BB1 #B1AD27
analogous
#2770B1 #272BB1 #6827B1
triadic
#272BB1 #B1272B #2BB127
tetradic
#272BB1 #B12770 #B1AD27 #27B168
square
#272BB1 #B12770 #B1AD27 #27B168
split-complementary
#272BB1 #B16827 #70B127
monochromatic
#11134D #1C1F7F #272BB1 #4045D5 #7276E0

Accessibility & contrast

On white

10.16
#272BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272BB1
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272BB1#FFFFFF#000000##FFFFFF
##272BB11.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B5
Deuteranopia (green-blind)
#003AAF
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #272bb1;
/* rgb */ color: rgb(39, 43, 177);
/* oklch */ color: oklch(39.5% 0.204 271.0);
Tailwind
colors: {
  custom: {
    50: '#7a66ca',
    500: '#272bb1',
    950: '#000000',
  },
}
SCSS
$custom: #272bb1;
$custom-light: #7a66ca;
$custom-dark: #000000;
JSON
{
  "hex": "#272bb1",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 177
  },
  "hsl": {
    "h": 238.261,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.39545,
    "c": 0.20398,
    "h": 271
  },
  "luminance": 0.05333
}

Semantic roles & 50–950 ramp

primary
#272BB1
secondary
#C7C46D
accent
#E241E7
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #272BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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