#272DA8#272DA8

#272DA8 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.191 H 271.3°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#272DA8
RGBrgb(39, 45, 168)
HSLhsl(237, 62%, 41%)
HSVhsv(237, 77%, 66%)
CMYKcmyk(76.8%, 73.2%, 0%, 34.1%)
CIE-LABlab(27.11, 40.71, -65.94)
CIE-LCHlch(27.11, 77.49, 301.69°)
OKLaboklab(38.87% 0.0043 -0.1909)
OKLCHoklch(38.87% 0.191 271.3)
XYZxyz(8.8406, 5.1343, 37.5633)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272DA8 #A8A227
analogous
#276EA8 #272DA8 #6127A8
triadic
#272DA8 #A8272D #2DA827
tetradic
#272DA8 #A8276E #A8A227 #27A861
square
#272DA8 #A8276E #A8A227 #27A861
split-complementary
#272DA8 #A86127 #6EA827
monochromatic
#101245 #1B2076 #272DA8 #3B42D1 #6C72DD

Accessibility & contrast

On white

10.36
#272DA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#272DA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272DA8
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272DA8#FFFFFF#000000##FFFFFF
##272DA81.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AC
Deuteranopia (green-blind)
#003AA6
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #272da8;
/* rgb */ color: rgb(39, 45, 168);
/* oklch */ color: oklch(38.9% 0.191 271.3);
Tailwind
colors: {
  custom: {
    50: '#7767c3',
    500: '#272da8',
    950: '#000000',
  },
}
SCSS
$custom: #272da8;
$custom-light: #7767c3;
$custom-dark: #000000;
JSON
{
  "hex": "#272da8",
  "rgb": {
    "r": 39,
    "g": 45,
    "b": 168
  },
  "hsl": {
    "h": 237.209,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38871,
    "c": 0.19093,
    "h": 271.3
  },
  "luminance": 0.05135
}

Semantic roles & 50–950 ramp

primary
#272DA8
secondary
#C3BF67
accent
#DE42E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #272DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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