#272BAA#272BAA

#272BAA is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.195 H 271.4°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#272BAA
RGBrgb(39, 43, 170)
HSLhsl(238, 63%, 41%)
HSVhsv(238, 77%, 67%)
CMYKcmyk(77.1%, 74.7%, 0%, 33.3%)
CIE-LABlab(26.91, 42.57, -67.48)
CIE-LCHlch(26.91, 79.79, 302.24°)
OKLaboklab(38.79% 0.0048 -0.1954)
OKLCHoklch(38.79% 0.195 271.4)
XYZxyz(8.9538, 5.0604, 38.5273)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272BAA #AAA627
analogous
#276CAA #272BAA #6427AA
triadic
#272BAA #AA272B #2BAA27
tetradic
#272BAA #AA276C #AAA627 #27AA64
square
#272BAA #AA276C #AAA627 #27AA64
split-complementary
#272BAA #AA6427 #6CAA27
monochromatic
#101246 #1C1E78 #272BAA #3C41D2 #6E71DE

Accessibility & contrast

On white

10.44
#272BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#272BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272BAA
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272BAA#FFFFFF#000000##FFFFFF
##272BAA1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AE
Deuteranopia (green-blind)
#0039A8
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #272baa;
/* rgb */ color: rgb(39, 43, 170);
/* oklch */ color: oklch(38.8% 0.195 271.4);
Tailwind
colors: {
  custom: {
    50: '#7866c5',
    500: '#272baa',
    950: '#000000',
  },
}
SCSS
$custom: #272baa;
$custom-light: #7866c5;
$custom-dark: #000000;
JSON
{
  "hex": "#272baa",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 170
  },
  "hsl": {
    "h": 238.168,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38786,
    "c": 0.19544,
    "h": 271.4
  },
  "luminance": 0.05061
}

Semantic roles & 50–950 ramp

primary
#272BAA
secondary
#C4C169
accent
#E142E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #272BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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