#272EB2#272EB2

#272EB2 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.1% C 0.202 H 270.6°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#272EB2
RGBrgb(39, 46, 178)
HSLhsl(237, 64%, 43%)
HSVhsv(237, 78%, 70%)
CMYKcmyk(78.1%, 74.2%, 0%, 30.2%)
CIE-LABlab(28.38, 43.55, -69.85)
CIE-LCHlch(28.38, 82.32, 301.94°)
OKLaboklab(40.08% 0.0023 -0.2023)
OKLCHoklch(40.08% 0.202 270.6)
XYZxyz(9.8468, 5.5986, 42.6725)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272EB2 #B2AB27
analogous
#2774B2 #272EB2 #6527B2
triadic
#272EB2 #B2272E #2EB227
tetradic
#272EB2 #B22774 #B2AB27 #27B265
square
#272EB2 #B22774 #B2AB27 #27B265
split-complementary
#272EB2 #B26527 #74B227
monochromatic
#11144E #1C2180 #272EB2 #4148D5 #7379E0

Accessibility & contrast

On white

9.91
#272EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#272EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272EB2
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272EB2#FFFFFF#000000##FFFFFF
##272EB21.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB6
Deuteranopia (green-blind)
#003CB0
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #272eb2;
/* rgb */ color: rgb(39, 46, 178);
/* oklch */ color: oklch(40.1% 0.202 270.6);
Tailwind
colors: {
  custom: {
    50: '#7a68ca',
    500: '#272eb2',
    950: '#000000',
  },
}
SCSS
$custom: #272eb2;
$custom-light: #7a68ca;
$custom-dark: #000000;
JSON
{
  "hex": "#272eb2",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 236.978,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40084,
    "c": 0.20229,
    "h": 270.6
  },
  "luminance": 0.056
}

Semantic roles & 50–950 ramp

primary
#272EB2
secondary
#C8C36D
accent
#DF41E7
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #272EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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