#272BA9#272BA9

#272BA9 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.7% C 0.194 H 271.5°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#272BA9
RGBrgb(39, 43, 169)
HSLhsl(238, 63%, 41%)
HSVhsv(238, 77%, 66%)
CMYKcmyk(76.9%, 74.6%, 0%, 33.7%)
CIE-LABlab(26.80, 42.23, -67.06)
CIE-LCHlch(26.80, 79.24, 302.20°)
OKLaboklab(38.68% 0.005 -0.1941)
OKLCHoklch(38.68% 0.194 271.5)
XYZxyz(8.8596, 5.0227, 38.0310)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272BA9 #A9A527
analogous
#276CA9 #272BA9 #6427A9
triadic
#272BA9 #A9272B #2BA927
tetradic
#272BA9 #A9276C #A9A527 #27A964
square
#272BA9 #A9276C #A9A527 #27A964
split-complementary
#272BA9 #A96427 #6CA927
monochromatic
#101246 #1C1E77 #272BA9 #3B40D2 #6D71DD

Accessibility & contrast

On white

10.47
#272BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#272BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272BA9
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272BA9#FFFFFF#000000##FFFFFF
##272BA91.0010.472.0010.47
#FFFFFF10.471.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AD
Deuteranopia (green-blind)
#0039A7
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #272ba9;
/* rgb */ color: rgb(39, 43, 169);
/* oklch */ color: oklch(38.7% 0.194 271.5);
Tailwind
colors: {
  custom: {
    50: '#7866c4',
    500: '#272ba9',
    950: '#000000',
  },
}
SCSS
$custom: #272ba9;
$custom-light: #7866c4;
$custom-dark: #000000;
JSON
{
  "hex": "#272ba9",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 238.154,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38678,
    "c": 0.1942,
    "h": 271.5
  },
  "luminance": 0.05024
}

Semantic roles & 50–950 ramp

primary
#272BA9
secondary
#C4C168
accent
#E142E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #272BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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