#272BB2#272BB2

#272BB2 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.7% C 0.205 H 271.0°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#272BB2
RGBrgb(39, 43, 178)
HSLhsl(238, 64%, 43%)
HSVhsv(238, 78%, 70%)
CMYKcmyk(78.1%, 75.8%, 0%, 30.2%)
CIE-LABlab(27.77, 45.26, -70.85)
CIE-LCHlch(27.77, 84.08, 302.57°)
OKLaboklab(39.65% 0.0035 -0.2052)
OKLCHoklch(39.65% 0.205 271)
XYZxyz(9.7337, 5.3724, 42.6348)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272BB2 #B2AE27
analogous
#2771B2 #272BB2 #6827B2
triadic
#272BB2 #B2272B #2BB227
tetradic
#272BB2 #B22771 #B2AE27 #27B268
square
#272BB2 #B22771 #B2AE27 #27B268
split-complementary
#272BB2 #B26827 #71B227
monochromatic
#11134E #1C1F80 #272BB2 #4145D5 #7376E0

Accessibility & contrast

On white

10.12
#272BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#272BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272BB2
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272BB2#FFFFFF#000000##FFFFFF
##272BB21.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B6
Deuteranopia (green-blind)
#003BB0
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #272bb2;
/* rgb */ color: rgb(39, 43, 178);
/* oklch */ color: oklch(39.7% 0.205 271.0);
Tailwind
colors: {
  custom: {
    50: '#7a66ca',
    500: '#272bb2',
    950: '#000000',
  },
}
SCSS
$custom: #272bb2;
$custom-light: #7a66ca;
$custom-dark: #000000;
JSON
{
  "hex": "#272bb2",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 178
  },
  "hsl": {
    "h": 238.273,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.39654,
    "c": 0.20519,
    "h": 271
  },
  "luminance": 0.05373
}

Semantic roles & 50–950 ramp

primary
#272BB2
secondary
#C8C56D
accent
#E241E7
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #272BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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