#272DA2#272DA2

#272DA2 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.183 H 271.6°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#272DA2
RGBrgb(39, 45, 162)
HSLhsl(237, 61%, 39%)
HSVhsv(237, 76%, 64%)
CMYKcmyk(75.9%, 72.2%, 0%, 36.5%)
CIE-LABlab(26.49, 38.62, -63.33)
CIE-LCHlch(26.49, 74.17, 301.37°)
OKLaboklab(38.24% 0.0051 -0.1833)
OKLCHoklch(38.24% 0.183 271.6)
XYZxyz(8.2945, 4.9159, 34.6871)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272DA2 #A29C27
analogous
#276BA2 #272DA2 #5F27A2
triadic
#272DA2 #A2272D #2DA227
tetradic
#272DA2 #A2276B #A29C27 #27A25F
square
#272DA2 #A2276B #A29C27 #27A25F
split-complementary
#272DA2 #A25F27 #6BA227
monochromatic
#0F123F #1B1F71 #272DA2 #373FCF #696EDB

Accessibility & contrast

On white

10.59
#272DA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#272DA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272DA2
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272DA2#FFFFFF#000000##FFFFFF
##272DA21.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A5
Deuteranopia (green-blind)
#0039A0
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #272da2;
/* rgb */ color: rgb(39, 45, 162);
/* oklch */ color: oklch(38.2% 0.183 271.6);
Tailwind
colors: {
  custom: {
    50: '#7667bf',
    500: '#272da2',
    950: '#000000',
  },
}
SCSS
$custom: #272da2;
$custom-light: #7667bf;
$custom-dark: #000000;
JSON
{
  "hex": "#272da2",
  "rgb": {
    "r": 39,
    "g": 45,
    "b": 162
  },
  "hsl": {
    "h": 237.073,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38241,
    "c": 0.18336,
    "h": 271.6
  },
  "luminance": 0.04917
}

Semantic roles & 50–950 ramp

primary
#272DA2
secondary
#C1BC64
accent
#DC43E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #272DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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