#272DB0#272DB0

#272DB0 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.7% C 0.201 H 270.9°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#272DB0
RGBrgb(39, 45, 176)
HSLhsl(237, 64%, 42%)
HSVhsv(237, 78%, 69%)
CMYKcmyk(77.8%, 74.4%, 0%, 31%)
CIE-LABlab(27.96, 43.45, -69.35)
CIE-LCHlch(27.96, 81.84, 302.07°)
OKLaboklab(39.72% 0.003 -0.2008)
OKLCHoklch(39.72% 0.201 270.9)
XYZxyz(9.6089, 5.4416, 41.6098)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272DB0 #B0AA27
analogous
#2772B0 #272DB0 #6527B0
triadic
#272DB0 #B0272D #2DB027
tetradic
#272DB0 #B02772 #B0AA27 #27B065
square
#272DB0 #B02772 #B0AA27 #27B065
split-complementary
#272DB0 #B06527 #72B027
monochromatic
#11134C #1C207E #272DB0 #4046D5 #7277E0

Accessibility & contrast

On white

10.05
#272DB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#272DB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272DB0
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272DB0#FFFFFF#000000##FFFFFF
##272DB01.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B4
Deuteranopia (green-blind)
#003BAE
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #272db0;
/* rgb */ color: rgb(39, 45, 176);
/* oklch */ color: oklch(39.7% 0.201 270.9);
Tailwind
colors: {
  custom: {
    50: '#7967c9',
    500: '#272db0',
    950: '#000000',
  },
}
SCSS
$custom: #272db0;
$custom-light: #7967c9;
$custom-dark: #000000;
JSON
{
  "hex": "#272db0",
  "rgb": {
    "r": 39,
    "g": 45,
    "b": 176
  },
  "hsl": {
    "h": 237.372,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.39723,
    "c": 0.20083,
    "h": 270.9
  },
  "luminance": 0.05443
}

Semantic roles & 50–950 ramp

primary
#272DB0
secondary
#C7C36C
accent
#DF41E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #272DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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