#272BC7#272BC7

#272BC7 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 42.0% C 0.230 H 269.9°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#272BC7
RGBrgb(39, 43, 199)
HSLhsl(239, 67%, 47%)
HSVhsv(239, 80%, 78%)
CMYKcmyk(80.4%, 78.4%, 0%, 22%)
CIE-LABlab(30.11, 52.12, -79.39)
CIE-LCHlch(30.11, 94.97, 303.28°)
OKLaboklab(41.99% -0.0003 -0.2299)
OKLCHoklch(41.99% 0.23 269.9)
XYZxyz(12.0059, 6.2812, 54.6014)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272BC7 #C7C327
analogous
#277BC7 #272BC7 #7327C7
triadic
#272BC7 #C7272B #2BC727
tetradic
#272BC7 #C7277B #C7C327 #27C773
square
#272BC7 #C7277B #C7C327 #27C773
split-complementary
#272BC7 #C77327 #7BC727
monochromatic
#131561 #1D2094 #272BC7 #4F52DC #8284E6

Accessibility & contrast

On white

9.31
#272BC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#272BC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272BC7
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272BC7#FFFFFF#000000##FFFFFF
##272BC71.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FCB
Deuteranopia (green-blind)
#003FC4
Tritanopia (blue-blind)
#005B79
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #272bc7;
/* rgb */ color: rgb(39, 43, 199);
/* oklch */ color: oklch(42.0% 0.230 269.9);
Tailwind
colors: {
  custom: {
    50: '#7f67da',
    500: '#272bc7',
    950: '#000000',
  },
}
SCSS
$custom: #272bc7;
$custom-light: #7f67da;
$custom-dark: #000000;
JSON
{
  "hex": "#272bc7",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 199
  },
  "hsl": {
    "h": 238.5,
    "s": 67.227,
    "l": 46.667
  },
  "oklch": {
    "l": 0.41987,
    "c": 0.22994,
    "h": 269.9
  },
  "luminance": 0.06283
}

Semantic roles & 50–950 ramp

primary
#272BC7
secondary
#CFCD7B
accent
#E63EEA
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #272BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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