#272BB0#272BB0

#272BB0 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.4% C 0.203 H 271.1°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#272BB0
RGBrgb(39, 43, 176)
HSLhsl(238, 64%, 42%)
HSVhsv(238, 78%, 69%)
CMYKcmyk(77.8%, 75.6%, 0%, 31%)
CIE-LABlab(27.55, 44.59, -70.02)
CIE-LCHlch(27.55, 83.01, 302.49°)
OKLaboklab(39.44% 0.0038 -0.2027)
OKLCHoklch(39.44% 0.203 271.1)
XYZxyz(9.5344, 5.2926, 41.5850)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272BB0 #B0AC27
analogous
#2770B0 #272BB0 #6727B0
triadic
#272BB0 #B0272B #2BB027
tetradic
#272BB0 #B02770 #B0AC27 #27B067
square
#272BB0 #B02770 #B0AC27 #27B067
split-complementary
#272BB0 #B06727 #70B027
monochromatic
#11134C #1C1F7E #272BB0 #4044D5 #7275E0

Accessibility & contrast

On white

10.20
#272BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#272BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272BB0
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272BB0#FFFFFF#000000##FFFFFF
##272BB01.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B4
Deuteranopia (green-blind)
#003AAE
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #272bb0;
/* rgb */ color: rgb(39, 43, 176);
/* oklch */ color: oklch(39.4% 0.203 271.1);
Tailwind
colors: {
  custom: {
    50: '#7966c9',
    500: '#272bb0',
    950: '#000000',
  },
}
SCSS
$custom: #272bb0;
$custom-light: #7966c9;
$custom-dark: #000000;
JSON
{
  "hex": "#272bb0",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 176
  },
  "hsl": {
    "h": 238.248,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.39436,
    "c": 0.20278,
    "h": 271.1
  },
  "luminance": 0.05294
}

Semantic roles & 50–950 ramp

primary
#272BB0
secondary
#C7C46C
accent
#E241E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #272BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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