#272E99#272E99

#272E99 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.171 H 271.9°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#272E99
RGBrgb(39, 46, 153)
HSLhsl(236, 59%, 38%)
HSVhsv(236, 75%, 60%)
CMYKcmyk(74.5%, 69.9%, 0%, 40%)
CIE-LABlab(25.82, 34.80, -58.96)
CIE-LCHlch(25.82, 68.46, 300.55°)
OKLaboklab(37.48% 0.0058 -0.1705)
OKLCHoklch(37.48% 0.171 271.9)
XYZxyz(7.5615, 4.6845, 30.6365)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272E99 #999227
analogous
#276799 #272E99 #592799
triadic
#272E99 #99272E #2E9927
tetradic
#272E99 #992767 #999227 #279959
square
#272E99 #992767 #999227 #279959
split-complementary
#272E99 #995927 #679927
monochromatic
#0E1137 #1B1F68 #272E99 #333DCA #636AD7

Accessibility & contrast

On white

10.84
#272E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#272E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272E99
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272E99#FFFFFF#000000##FFFFFF
##272E991.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#003897
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #272e99;
/* rgb */ color: rgb(39, 46, 153);
/* oklch */ color: oklch(37.5% 0.171 271.9);
Tailwind
colors: {
  custom: {
    50: '#7367b8',
    500: '#272e99',
    950: '#000000',
  },
}
SCSS
$custom: #272e99;
$custom-light: #7367b8;
$custom-dark: #000000;
JSON
{
  "hex": "#272e99",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 236.316,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37481,
    "c": 0.17064,
    "h": 271.9
  },
  "luminance": 0.04685
}

Semantic roles & 50–950 ramp

primary
#272E99
secondary
#BDB75F
accent
#D945E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #272E99

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

Preview Lab → · Contrast checker → · Palette generator →

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