#272DBA#272DBA

#272DBA is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 40.8% C 0.213 H 270.4°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#272DBA
RGBrgb(39, 45, 186)
HSLhsl(238, 65%, 44%)
HSVhsv(238, 79%, 73%)
CMYKcmyk(79%, 75.8%, 0%, 27.1%)
CIE-LABlab(29.04, 46.82, -73.52)
CIE-LCHlch(29.04, 87.16, 302.49°)
OKLaboklab(40.81% 0.0014 -0.2129)
OKLCHoklch(40.81% 0.213 270.4)
XYZxyz(10.6350, 5.8521, 47.0139)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272DBA #BAB427
analogous
#2777BA #272DBA #6B27BA
triadic
#272DBA #BA272D #2DBA27
tetradic
#272DBA #BA2777 #BAB427 #27BA6B
square
#272DBA #BA2777 #BAB427 #27BA6B
split-complementary
#272DBA #BA6B27 #77BA27
monochromatic
#121555 #1C2187 #272DBA #464CD8 #797DE3

Accessibility & contrast

On white

9.67
#272DBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#272DBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272DBA
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272DBA#FFFFFF#000000##FFFFFF
##272DBA1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBE
Deuteranopia (green-blind)
#003DB8
Tritanopia (blue-blind)
#005772
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #272dba;
/* rgb */ color: rgb(39, 45, 186);
/* oklch */ color: oklch(40.8% 0.213 270.4);
Tailwind
colors: {
  custom: {
    50: '#7c68d0',
    500: '#272dba',
    950: '#000000',
  },
}
SCSS
$custom: #272dba;
$custom-light: #7c68d0;
$custom-dark: #000000;
JSON
{
  "hex": "#272dba",
  "rgb": {
    "r": 39,
    "g": 45,
    "b": 186
  },
  "hsl": {
    "h": 237.551,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40807,
    "c": 0.21292,
    "h": 270.4
  },
  "luminance": 0.05853
}

Semantic roles & 50–950 ramp

primary
#272DBA
secondary
#CBC772
accent
#E140E8
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0B0614
muted
#7C7A83

Preview Lab

Preview with #272DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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