#272BA2#272BA2

#272BA2 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.185 H 271.9°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#272BA2
RGBrgb(39, 43, 162)
HSLhsl(238, 61%, 39%)
HSVhsv(238, 76%, 64%)
CMYKcmyk(75.9%, 73.5%, 0%, 36.5%)
CIE-LABlab(26.06, 39.82, -64.04)
CIE-LCHlch(26.06, 75.41, 301.87°)
OKLaboklab(37.93% 0.0061 -0.1854)
OKLCHoklch(37.93% 0.185 271.9)
XYZxyz(8.2200, 4.7669, 34.6623)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272BA2 #A29E27
analogous
#2769A2 #272BA2 #6127A2
triadic
#272BA2 #A2272B #2BA227
tetradic
#272BA2 #A22769 #A29E27 #27A261
square
#272BA2 #A22769 #A29E27 #27A261
split-complementary
#272BA2 #A26127 #69A227
monochromatic
#0F113F #1B1E71 #272BA2 #373CCF #696CDB

Accessibility & contrast

On white

10.75
#272BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#272BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272BA2
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272BA2#FFFFFF#000000##FFFFFF
##272BA21.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.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: #272ba2;
/* rgb */ color: rgb(39, 43, 162);
/* oklch */ color: oklch(37.9% 0.185 271.9);
Tailwind
colors: {
  custom: {
    50: '#7665bf',
    500: '#272ba2',
    950: '#000000',
  },
}
SCSS
$custom: #272ba2;
$custom-light: #7665bf;
$custom-dark: #000000;
JSON
{
  "hex": "#272ba2",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 238.049,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37931,
    "c": 0.18547,
    "h": 271.9
  },
  "luminance": 0.04768
}

Semantic roles & 50–950 ramp

primary
#272BA2
secondary
#C1BE64
accent
#DF43E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #272BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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