#272EB1#272EB1

#272EB1 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.0% C 0.201 H 270.7°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#272EB1
RGBrgb(39, 46, 177)
HSLhsl(237, 64%, 42%)
HSVhsv(237, 78%, 69%)
CMYKcmyk(78%, 74%, 0%, 30.6%)
CIE-LABlab(28.27, 43.21, -69.43)
CIE-LCHlch(28.27, 81.78, 301.90°)
OKLaboklab(39.98% 0.0025 -0.201)
OKLCHoklch(39.98% 0.201 270.7)
XYZxyz(9.7468, 5.5586, 42.1457)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272EB1 #B1AA27
analogous
#2773B1 #272EB1 #6527B1
triadic
#272EB1 #B1272E #2EB127
tetradic
#272EB1 #B12773 #B1AA27 #27B165
square
#272EB1 #B12773 #B1AA27 #27B165
split-complementary
#272EB1 #B16527 #73B127
monochromatic
#11144D #1C217F #272EB1 #4048D5 #7278E0

Accessibility & contrast

On white

9.94
#272EB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#272EB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272EB1
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272EB1#FFFFFF#000000##FFFFFF
##272EB11.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B5
Deuteranopia (green-blind)
#003CAF
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #272eb1;
/* rgb */ color: rgb(39, 46, 177);
/* oklch */ color: oklch(40.0% 0.201 270.7);
Tailwind
colors: {
  custom: {
    50: '#7968ca',
    500: '#272eb1',
    950: '#000000',
  },
}
SCSS
$custom: #272eb1;
$custom-light: #7968ca;
$custom-dark: #000000;
JSON
{
  "hex": "#272eb1",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 177
  },
  "hsl": {
    "h": 236.957,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.39977,
    "c": 0.20106,
    "h": 270.7
  },
  "luminance": 0.0556
}

Semantic roles & 50–950 ramp

primary
#272EB1
secondary
#C7C36D
accent
#DE41E7
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #272EB1

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

Preview Lab → · Contrast checker → · Palette generator →

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