#272AAF#272AAF

#272AAF is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.2% C 0.203 H 271.2°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#272AAF
RGBrgb(39, 42, 175)
HSLhsl(239, 64%, 42%)
HSVhsv(239, 78%, 69%)
CMYKcmyk(77.7%, 76%, 0%, 31.4%)
CIE-LABlab(27.25, 44.82, -69.93)
CIE-LCHlch(27.25, 83.06, 302.66°)
OKLaboklab(39.19% 0.0044 -0.2025)
OKLCHoklch(39.19% 0.203 271.2)
XYZxyz(9.3999, 5.1814, 41.0538)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272AAF #AFAC27
analogous
#276EAF #272AAF #6827AF
triadic
#272AAF #AF272A #2AAF27
tetradic
#272AAF #AF276E #AFAC27 #27AF68
square
#272AAF #AF276E #AFAC27 #27AF68
split-complementary
#272AAF #AF6827 #6EAF27
monochromatic
#11124B #1C1E7D #272AAF #3F42D4 #7173DF

Accessibility & contrast

On white

10.31
#272AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272AAF
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272AAF#FFFFFF#000000##FFFFFF
##272AAF1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B3
Deuteranopia (green-blind)
#0039AD
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #272aaf;
/* rgb */ color: rgb(39, 42, 175);
/* oklch */ color: oklch(39.2% 0.203 271.2);
Tailwind
colors: {
  custom: {
    50: '#7965c8',
    500: '#272aaf',
    950: '#000000',
  },
}
SCSS
$custom: #272aaf;
$custom-light: #7965c8;
$custom-dark: #000000;
JSON
{
  "hex": "#272aaf",
  "rgb": {
    "r": 39,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 238.676,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39186,
    "c": 0.20251,
    "h": 271.2
  },
  "luminance": 0.05182
}

Semantic roles & 50–950 ramp

primary
#272AAF
secondary
#C6C46B
accent
#E341E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #272AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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