#272CA5#272CA5

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

Color values

HEX#272CA5
RGBrgb(39, 44, 165)
HSLhsl(238, 62%, 40%)
HSVhsv(238, 76%, 65%)
CMYKcmyk(76.4%, 73.3%, 0%, 35.3%)
CIE-LABlab(26.59, 40.26, -64.99)
CIE-LCHlch(26.59, 76.45, 301.78°)
OKLaboklab(38.4% 0.0052 -0.1881)
OKLCHoklch(38.4% 0.188 271.6)
XYZxyz(8.5266, 4.9484, 36.0958)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272CA5 #A5A027
analogous
#276BA5 #272CA5 #6127A5
triadic
#272CA5 #A5272C #2CA527
tetradic
#272CA5 #A5276B #A5A027 #27A561
square
#272CA5 #A5276B #A5A027 #27A561
split-complementary
#272CA5 #A56127 #6BA527
monochromatic
#101242 #1B1F74 #272CA5 #393FD0 #6A6FDC

Accessibility & contrast

On white

10.55
#272CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#272CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272CA5
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272CA5#FFFFFF#000000##FFFFFF
##272CA51.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A9
Deuteranopia (green-blind)
#0039A3
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #272ca5;
/* rgb */ color: rgb(39, 44, 165);
/* oklch */ color: oklch(38.4% 0.188 271.6);
Tailwind
colors: {
  custom: {
    50: '#7766c1',
    500: '#272ca5',
    950: '#000000',
  },
}
SCSS
$custom: #272ca5;
$custom-light: #7766c1;
$custom-dark: #000000;
JSON
{
  "hex": "#272ca5",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 237.619,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.38401,
    "c": 0.1882,
    "h": 271.6
  },
  "luminance": 0.04949
}

Semantic roles & 50–950 ramp

primary
#272CA5
secondary
#C2BF66
accent
#DE43E5
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #272CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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