#272E80#272E80

#272E80 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.1% C 0.137 H 273.3°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#272E80
RGBrgb(39, 46, 128)
HSLhsl(235, 53%, 33%)
HSVhsv(235, 70%, 50%)
CMYKcmyk(69.5%, 64.1%, 0%, 49.8%)
CIE-LABlab(23.48, 25.62, -47.26)
CIE-LCHlch(23.48, 53.76, 298.47°)
OKLaboklab(35.06% 0.0079 -0.1363)
OKLCHoklch(35.06% 0.137 273.3)
XYZxyz(5.7087, 3.9433, 20.8782)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272E80 #807927
analogous
#275A80 #272E80 #4C2780
triadic
#272E80 #80272E #2E8027
tetradic
#272E80 #80275A #807927 #27804C
square
#272E80 #80275A #807927 #27804C
split-complementary
#272E80 #804C27 #5A8027
monochromatic
#0A0C22 #191D51 #272E80 #353FAF #565FCB

Accessibility & contrast

On white

11.74
#272E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#272E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272E80
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272E80#FFFFFF#000000##FFFFFF
##272E801.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C83
Deuteranopia (green-blind)
#00347E
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #272e80;
/* rgb */ color: rgb(39, 46, 128);
/* oklch */ color: oklch(35.1% 0.137 273.3);
Tailwind
colors: {
  custom: {
    50: '#6d66a6',
    500: '#272e80',
    950: '#000000',
  },
}
SCSS
$custom: #272e80;
$custom-light: #6d66a6;
$custom-dark: #000000;
JSON
{
  "hex": "#272e80",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 128
  },
  "hsl": {
    "h": 235.281,
    "s": 53.293,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35064,
    "c": 0.13651,
    "h": 273.3
  },
  "luminance": 0.03944
}

Semantic roles & 50–950 ramp

primary
#272E80
secondary
#B0A953
accent
#D14BDD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #272E80

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

Preview Lab → · Contrast checker → · Palette generator →

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