#272E71#272E71

#272E71 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.7% C 0.115 H 274.0°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#272E71
RGBrgb(39, 46, 113)
HSLhsl(234, 49%, 30%)
HSVhsv(234, 65%, 44%)
CMYKcmyk(65.5%, 59.3%, 0%, 55.7%)
CIE-LABlab(22.22, 19.98, -39.77)
CIE-LCHlch(22.22, 44.51, 296.68°)
OKLaboklab(33.73% 0.008 -0.1143)
OKLCHoklch(33.73% 0.115 274)
XYZxyz(4.7933, 3.5772, 16.0574)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272E71 #716A27
analogous
#275371 #272E71 #452771
triadic
#272E71 #71272E #2E7127
tetradic
#272E71 #712753 #716A27 #277145
square
#272E71 #712753 #716A27 #277145
split-complementary
#272E71 #714527 #537127
monochromatic
#080917 #171B44 #272E71 #37419E #505BC3

Accessibility & contrast

On white

12.24
#272E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#272E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272E71
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272E71#FFFFFF#000000##FFFFFF
##272E711.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#003270
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #272e71;
/* rgb */ color: rgb(39, 46, 113);
/* oklch */ color: oklch(33.7% 0.115 274.0);
Tailwind
colors: {
  custom: {
    50: '#6a669a',
    500: '#272e71',
    950: '#000000',
  },
}
SCSS
$custom: #272e71;
$custom-light: #6a669a;
$custom-dark: #000000;
JSON
{
  "hex": "#272e71",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 234.324,
    "s": 48.684,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33734,
    "c": 0.11455,
    "h": 274
  },
  "luminance": 0.03578
}

Semantic roles & 50–950 ramp

primary
#272E71
secondary
#A39C50
accent
#CB50D8
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #272E71

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

Preview Lab → · Contrast checker → · Palette generator →

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