#272BA3#272BA3

#272BA3 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.187 H 271.8°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#272BA3
RGBrgb(39, 43, 163)
HSLhsl(238, 61%, 40%)
HSVhsv(238, 76%, 64%)
CMYKcmyk(76.1%, 73.6%, 0%, 36.1%)
CIE-LABlab(26.16, 40.17, -64.48)
CIE-LCHlch(26.16, 75.97, 301.92°)
OKLaboklab(38.04% 0.006 -0.1866)
OKLCHoklch(38.04% 0.187 271.8)
XYZxyz(8.3092, 4.8025, 35.1323)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272BA3 #A39F27
analogous
#2769A3 #272BA3 #6127A3
triadic
#272BA3 #A3272B #2BA327
tetradic
#272BA3 #A32769 #A39F27 #27A361
square
#272BA3 #A32769 #A39F27 #27A361
split-complementary
#272BA3 #A36127 #69A327
monochromatic
#0F1140 #1B1E72 #272BA3 #383DCF #696DDB

Accessibility & contrast

On white

10.71
#272BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#272BA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272BA3
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272BA3#FFFFFF#000000##FFFFFF
##272BA31.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A7
Deuteranopia (green-blind)
#0038A1
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #272ba3;
/* rgb */ color: rgb(39, 43, 163);
/* oklch */ color: oklch(38.0% 0.187 271.8);
Tailwind
colors: {
  custom: {
    50: '#7665bf',
    500: '#272ba3',
    950: '#000000',
  },
}
SCSS
$custom: #272ba3;
$custom-light: #7665bf;
$custom-dark: #000000;
JSON
{
  "hex": "#272ba3",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 238.065,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38037,
    "c": 0.18673,
    "h": 271.8
  },
  "luminance": 0.04803
}

Semantic roles & 50–950 ramp

primary
#272BA3
secondary
#C1BE64
accent
#DF43E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #272BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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