#272AA8#272AA8

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

Color values

HEX#272AA8
RGBrgb(39, 42, 168)
HSLhsl(239, 62%, 41%)
HSVhsv(239, 77%, 66%)
CMYKcmyk(76.8%, 75%, 0%, 34.1%)
CIE-LABlab(26.49, 42.46, -66.97)
CIE-LCHlch(26.49, 79.30, 302.38°)
OKLaboklab(38.42% 0.0056 -0.1939)
OKLCHoklch(38.42% 0.194 271.7)
XYZxyz(8.7302, 4.9135, 37.5265)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272AA8 #A8A527
analogous
#276AA8 #272AA8 #6527A8
triadic
#272AA8 #A8272A #2AA827
tetradic
#272AA8 #A8276A #A8A527 #27A865
square
#272AA8 #A8276A #A8A527 #27A865
split-complementary
#272AA8 #A86527 #6AA827
monochromatic
#101145 #1B1E76 #272AA8 #3B3ED1 #6C6FDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##272AA8#FFFFFF#000000##FFFFFF
##272AA81.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)
#0045AC
Deuteranopia (green-blind)
#0038A6
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #272aa8;
/* rgb */ color: rgb(39, 42, 168);
/* oklch */ color: oklch(38.4% 0.194 271.7);
Tailwind
colors: {
  custom: {
    50: '#7865c3',
    500: '#272aa8',
    950: '#000000',
  },
}
SCSS
$custom: #272aa8;
$custom-light: #7865c3;
$custom-dark: #000000;
JSON
{
  "hex": "#272aa8",
  "rgb": {
    "r": 39,
    "g": 42,
    "b": 168
  },
  "hsl": {
    "h": 238.605,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38424,
    "c": 0.19396,
    "h": 271.7
  },
  "luminance": 0.04914
}

Semantic roles & 50–950 ramp

primary
#272AA8
secondary
#C3C167
accent
#E242E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #272AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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