#272EBA#272EBA

#272EBA is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 40.9% C 0.212 H 270.3°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#272EBA
RGBrgb(39, 46, 186)
HSLhsl(237, 65%, 44%)
HSVhsv(237, 79%, 73%)
CMYKcmyk(79%, 75.3%, 0%, 27.1%)
CIE-LABlab(29.23, 46.26, -73.19)
CIE-LCHlch(29.23, 86.58, 302.29°)
OKLaboklab(40.95% 0.001 -0.212)
OKLCHoklch(40.95% 0.212 270.3)
XYZxyz(10.6736, 5.9293, 47.0268)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272EBA #BAB327
analogous
#2778BA #272EBA #6A27BA
triadic
#272EBA #BA272E #2EBA27
tetradic
#272EBA #BA2778 #BAB327 #27BA6A
square
#272EBA #BA2778 #BAB327 #27BA6A
split-complementary
#272EBA #BA6A27 #78BA27
monochromatic
#121555 #1C2187 #272EBA #464DD8 #797EE3

Accessibility & contrast

On white

9.61
#272EBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#272EBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272EBA
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272EBA#FFFFFF#000000##FFFFFF
##272EBA1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBE
Deuteranopia (green-blind)
#003DB8
Tritanopia (blue-blind)
#005772
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #272eba;
/* rgb */ color: rgb(39, 46, 186);
/* oklch */ color: oklch(40.9% 0.212 270.3);
Tailwind
colors: {
  custom: {
    50: '#7c68d0',
    500: '#272eba',
    950: '#000000',
  },
}
SCSS
$custom: #272eba;
$custom-light: #7c68d0;
$custom-dark: #000000;
JSON
{
  "hex": "#272eba",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 186
  },
  "hsl": {
    "h": 237.143,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40947,
    "c": 0.21198,
    "h": 270.3
  },
  "luminance": 0.0593
}

Semantic roles & 50–950 ramp

primary
#272EBA
secondary
#CBC672
accent
#E040E8
background
#F8F6FD
surface
#EFEBFA
border
#CAC6D3
text
#0B0614
muted
#7C7A83

Preview Lab

Preview with #272EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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