#272EA8#272EA8

#272EA8 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.0% C 0.190 H 271.1°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#272EA8
RGBrgb(39, 46, 168)
HSLhsl(237, 62%, 41%)
HSVhsv(237, 77%, 66%)
CMYKcmyk(76.8%, 72.6%, 0%, 34.1%)
CIE-LABlab(27.33, 40.11, -65.58)
CIE-LCHlch(27.33, 76.87, 301.45°)
OKLaboklab(39.03% 0.0038 -0.1898)
OKLCHoklch(39.03% 0.19 271.1)
XYZxyz(8.8792, 5.2115, 37.5762)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272EA8 #A8A127
analogous
#276EA8 #272EA8 #6027A8
triadic
#272EA8 #A8272E #2EA827
tetradic
#272EA8 #A8276E #A8A127 #27A860
square
#272EA8 #A8276E #A8A127 #27A860
split-complementary
#272EA8 #A86027 #6EA827
monochromatic
#101345 #1B2076 #272EA8 #3B43D1 #6C73DD

Accessibility & contrast

On white

10.28
#272EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#272EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272EA8
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272EA8#FFFFFF#000000##FFFFFF
##272EA81.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AC
Deuteranopia (green-blind)
#003AA6
Tritanopia (blue-blind)
#005168
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #272ea8;
/* rgb */ color: rgb(39, 46, 168);
/* oklch */ color: oklch(39.0% 0.190 271.1);
Tailwind
colors: {
  custom: {
    50: '#7768c3',
    500: '#272ea8',
    950: '#000000',
  },
}
SCSS
$custom: #272ea8;
$custom-light: #7768c3;
$custom-dark: #000000;
JSON
{
  "hex": "#272ea8",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 236.744,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39025,
    "c": 0.18989,
    "h": 271.1
  },
  "luminance": 0.05212
}

Semantic roles & 50–950 ramp

primary
#272EA8
secondary
#C3BE67
accent
#DD42E5
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #272EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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