#272DB1#272DB1

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

Color values

HEX#272DB1
RGBrgb(39, 45, 177)
HSLhsl(237, 64%, 42%)
HSVhsv(237, 78%, 69%)
CMYKcmyk(78%, 74.6%, 0%, 30.6%)
CIE-LABlab(28.06, 43.79, -69.77)
CIE-LCHlch(28.06, 82.37, 302.12°)
OKLaboklab(39.83% 0.0029 -0.202)
OKLCHoklch(39.83% 0.202 270.8)
XYZxyz(9.7082, 5.4814, 42.1328)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272DB1 #B1AB27
analogous
#2772B1 #272DB1 #6627B1
triadic
#272DB1 #B1272D #2DB127
tetradic
#272DB1 #B12772 #B1AB27 #27B166
square
#272DB1 #B12772 #B1AB27 #27B166
split-complementary
#272DB1 #B16627 #72B127
monochromatic
#11144D #1C207F #272DB1 #4047D5 #7277E0

Accessibility & contrast

On white

10.02
#272DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272DB1
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272DB1#FFFFFF#000000##FFFFFF
##272DB11.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #272db1;
/* rgb */ color: rgb(39, 45, 177);
/* oklch */ color: oklch(39.8% 0.202 270.8);
Tailwind
colors: {
  custom: {
    50: '#7967ca',
    500: '#272db1',
    950: '#000000',
  },
}
SCSS
$custom: #272db1;
$custom-light: #7967ca;
$custom-dark: #000000;
JSON
{
  "hex": "#272db1",
  "rgb": {
    "r": 39,
    "g": 45,
    "b": 177
  },
  "hsl": {
    "h": 237.391,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.39831,
    "c": 0.20205,
    "h": 270.8
  },
  "luminance": 0.05482
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #272DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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