#272CA8#272CA8

#272CA8 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.7% C 0.192 H 271.4°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#272CA8
RGBrgb(39, 44, 168)
HSLhsl(238, 62%, 41%)
HSVhsv(238, 77%, 66%)
CMYKcmyk(76.8%, 73.8%, 0%, 34.1%)
CIE-LABlab(26.90, 41.30, -66.29)
CIE-LCHlch(26.90, 78.10, 301.92°)
OKLaboklab(38.72% 0.0047 -0.1919)
OKLCHoklch(38.72% 0.192 271.4)
XYZxyz(8.8029, 5.0589, 37.5507)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272CA8 #A8A327
analogous
#276DA8 #272CA8 #6227A8
triadic
#272CA8 #A8272C #2CA827
tetradic
#272CA8 #A8276D #A8A327 #27A862
square
#272CA8 #A8276D #A8A327 #27A862
split-complementary
#272CA8 #A86227 #6DA827
monochromatic
#101245 #1B1F76 #272CA8 #3B41D1 #6C71DD

Accessibility & contrast

On white

10.44
#272CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#272CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272CA8
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272CA8#FFFFFF#000000##FFFFFF
##272CA81.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AC
Deuteranopia (green-blind)
#0039A6
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #272ca8;
/* rgb */ color: rgb(39, 44, 168);
/* oklch */ color: oklch(38.7% 0.192 271.4);
Tailwind
colors: {
  custom: {
    50: '#7766c3',
    500: '#272ca8',
    950: '#000000',
  },
}
SCSS
$custom: #272ca8;
$custom-light: #7766c3;
$custom-dark: #000000;
JSON
{
  "hex": "#272ca8",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 237.674,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38719,
    "c": 0.19196,
    "h": 271.4
  },
  "luminance": 0.0506
}

Semantic roles & 50–950 ramp

primary
#272CA8
secondary
#C3C067
accent
#DF42E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #272CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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