#272CA2#272CA2

#272CA2 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.184 H 271.8°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#272CA2
RGBrgb(39, 44, 162)
HSLhsl(238, 61%, 39%)
HSVhsv(238, 76%, 64%)
CMYKcmyk(75.9%, 72.8%, 0%, 36.5%)
CIE-LABlab(26.28, 39.22, -63.69)
CIE-LCHlch(26.28, 74.80, 301.63°)
OKLaboklab(38.09% 0.0056 -0.1843)
OKLCHoklch(38.09% 0.184 271.8)
XYZxyz(8.2568, 4.8405, 34.6746)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272CA2 #A29D27
analogous
#276AA2 #272CA2 #6027A2
triadic
#272CA2 #A2272C #2CA227
tetradic
#272CA2 #A2276A #A29D27 #27A260
square
#272CA2 #A2276A #A29D27 #27A260
split-complementary
#272CA2 #A26027 #6AA227
monochromatic
#0F113F #1B1F71 #272CA2 #373DCF #696DDB

Accessibility & contrast

On white

10.67
#272CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#272CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272CA2
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272CA2#FFFFFF#000000##FFFFFF
##272CA21.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A6
Deuteranopia (green-blind)
#0038A0
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #272ca2;
/* rgb */ color: rgb(39, 44, 162);
/* oklch */ color: oklch(38.1% 0.184 271.8);
Tailwind
colors: {
  custom: {
    50: '#7666bf',
    500: '#272ca2',
    950: '#000000',
  },
}
SCSS
$custom: #272ca2;
$custom-light: #7666bf;
$custom-dark: #000000;
JSON
{
  "hex": "#272ca2",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 237.561,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38085,
    "c": 0.18443,
    "h": 271.8
  },
  "luminance": 0.04841
}

Semantic roles & 50–950 ramp

primary
#272CA2
secondary
#C1BD64
accent
#DE43E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #272CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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