#272CB1#272CB1

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

Color values

HEX#272CB1
RGBrgb(39, 44, 177)
HSLhsl(238, 64%, 42%)
HSVhsv(238, 78%, 69%)
CMYKcmyk(78%, 75.1%, 0%, 30.6%)
CIE-LABlab(27.86, 44.36, -70.10)
CIE-LCHlch(27.86, 82.96, 302.33°)
OKLaboklab(39.69% 0.0032 -0.203)
OKLCHoklch(39.69% 0.203 270.9)
XYZxyz(9.6705, 5.4060, 42.1202)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272CB1 #B1AC27
analogous
#2771B1 #272CB1 #6727B1
triadic
#272CB1 #B1272C #2CB127
tetradic
#272CB1 #B12771 #B1AC27 #27B167
square
#272CB1 #B12771 #B1AC27 #27B167
split-complementary
#272CB1 #B16727 #71B127
monochromatic
#11134D #1C207F #272CB1 #4046D5 #7276E0

Accessibility & contrast

On white

10.09
#272CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#272CB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272CB1
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272CB1#FFFFFF#000000##FFFFFF
##272CB11.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #272cb1;
/* rgb */ color: rgb(39, 44, 177);
/* oklch */ color: oklch(39.7% 0.203 270.9);
Tailwind
colors: {
  custom: {
    50: '#7a67ca',
    500: '#272cb1',
    950: '#000000',
  },
}
SCSS
$custom: #272cb1;
$custom-light: #7a67ca;
$custom-dark: #000000;
JSON
{
  "hex": "#272cb1",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 237.826,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.39687,
    "c": 0.20303,
    "h": 270.9
  },
  "luminance": 0.05407
}

Semantic roles & 50–950 ramp

primary
#272CB1
secondary
#C7C46D
accent
#E141E7
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #272CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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