#272B80#272B80

#272B80 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.5% C 0.140 H 274.2°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#272B80
RGBrgb(39, 43, 128)
HSLhsl(237, 53%, 33%)
HSVhsv(237, 70%, 50%)
CMYKcmyk(69.5%, 66.4%, 0%, 49.8%)
CIE-LABlab(22.71, 27.64, -48.51)
CIE-LCHlch(22.71, 55.84, 299.67°)
OKLaboklab(34.5% 0.0103 -0.14)
OKLCHoklch(34.5% 0.14 274.2)
XYZxyz(5.5956, 3.7171, 20.8405)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272B80 #807C27
analogous
#275880 #272B80 #4F2780
triadic
#272B80 #80272B #2B8027
tetradic
#272B80 #802758 #807C27 #27804F
square
#272B80 #802758 #807C27 #27804F
split-complementary
#272B80 #804F27 #588027
monochromatic
#0A0B22 #191B51 #272B80 #353BAF #565BCB

Accessibility & contrast

On white

12.04
#272B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#272B80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272B80
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272B80#FFFFFF#000000##FFFFFF
##272B801.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A83
Deuteranopia (green-blind)
#00327E
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #272b80;
/* rgb */ color: rgb(39, 43, 128);
/* oklch */ color: oklch(34.5% 0.140 274.2);
Tailwind
colors: {
  custom: {
    50: '#6e64a6',
    500: '#272b80',
    950: '#000000',
  },
}
SCSS
$custom: #272b80;
$custom-light: #6e64a6;
$custom-dark: #000000;
JSON
{
  "hex": "#272b80",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 128
  },
  "hsl": {
    "h": 237.303,
    "s": 53.293,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34499,
    "c": 0.14037,
    "h": 274.2
  },
  "luminance": 0.03718
}

Semantic roles & 50–950 ramp

primary
#272B80
secondary
#B0AC53
accent
#D64BDD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F

Preview Lab

Preview with #272B80

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

Preview Lab → · Contrast checker → · Palette generator →

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