#272DB2#272DB2

#272DB2 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 39.9% C 0.203 H 270.8°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#272DB2
RGBrgb(39, 45, 178)
HSLhsl(237, 64%, 43%)
HSVhsv(237, 78%, 70%)
CMYKcmyk(78.1%, 74.7%, 0%, 30.2%)
CIE-LABlab(28.17, 44.13, -70.19)
CIE-LCHlch(28.17, 82.91, 302.16°)
OKLaboklab(39.94% 0.0027 -0.2033)
OKLCHoklch(39.94% 0.203 270.8)
XYZxyz(9.8082, 5.5214, 42.6597)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272DB2 #B2AC27
analogous
#2773B2 #272DB2 #6627B2
triadic
#272DB2 #B2272D #2DB227
tetradic
#272DB2 #B22773 #B2AC27 #27B266
square
#272DB2 #B22773 #B2AC27 #27B266
split-complementary
#272DB2 #B26627 #73B227
monochromatic
#11144E #1C2080 #272DB2 #4147D5 #7378E0

Accessibility & contrast

On white

9.98
#272DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#272DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272DB2
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272DB2#FFFFFF#000000##FFFFFF
##272DB21.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B6
Deuteranopia (green-blind)
#003BB0
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #272db2;
/* rgb */ color: rgb(39, 45, 178);
/* oklch */ color: oklch(39.9% 0.203 270.8);
Tailwind
colors: {
  custom: {
    50: '#7a67ca',
    500: '#272db2',
    950: '#000000',
  },
}
SCSS
$custom: #272db2;
$custom-light: #7a67ca;
$custom-dark: #000000;
JSON
{
  "hex": "#272db2",
  "rgb": {
    "r": 39,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 237.41,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.39938,
    "c": 0.20328,
    "h": 270.8
  },
  "luminance": 0.05522
}

Semantic roles & 50–950 ramp

primary
#272DB2
secondary
#C8C46D
accent
#E041E7
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #272DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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