#272DB3#272DB3

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

Color values

HEX#272DB3
RGBrgb(39, 45, 179)
HSLhsl(237, 64%, 43%)
HSVhsv(237, 78%, 70%)
CMYKcmyk(78.2%, 74.9%, 0%, 29.8%)
CIE-LABlab(28.28, 44.47, -70.61)
CIE-LCHlch(28.28, 83.44, 302.20°)
OKLaboklab(40.05% 0.0025 -0.2045)
OKLCHoklch(40.05% 0.204 270.7)
XYZxyz(9.9090, 5.5617, 43.1904)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272DB3 #B3AD27
analogous
#2773B3 #272DB3 #6727B3
triadic
#272DB3 #B3272D #2DB327
tetradic
#272DB3 #B32773 #B3AD27 #27B367
square
#272DB3 #B32773 #B3AD27 #27B367
split-complementary
#272DB3 #B36727 #73B327
monochromatic
#11144E #1C2081 #272DB3 #4148D6 #7478E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##272DB3#FFFFFF#000000##FFFFFF
##272DB31.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)
#004AB7
Deuteranopia (green-blind)
#003CB1
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #272db3;
/* rgb */ color: rgb(39, 45, 179);
/* oklch */ color: oklch(40.0% 0.204 270.7);
Tailwind
colors: {
  custom: {
    50: '#7a67cb',
    500: '#272db3',
    950: '#000000',
  },
}
SCSS
$custom: #272db3;
$custom-light: #7a67cb;
$custom-dark: #000000;
JSON
{
  "hex": "#272db3",
  "rgb": {
    "r": 39,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 237.429,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40046,
    "c": 0.20449,
    "h": 270.7
  },
  "luminance": 0.05563
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #272DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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