#272E9A#272E9A

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

Color values

HEX#272E9A
RGBrgb(39, 46, 154)
HSLhsl(236, 60%, 38%)
HSVhsv(236, 75%, 60%)
CMYKcmyk(74.7%, 70.1%, 0%, 39.6%)
CIE-LABlab(25.91, 35.16, -59.41)
CIE-LCHlch(25.91, 69.03, 300.62°)
OKLaboklab(37.58% 0.0056 -0.1719)
OKLCHoklch(37.58% 0.172 271.9)
XYZxyz(7.6445, 4.7176, 31.0733)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272E9A #9A9327
analogous
#27679A #272E9A #5A279A
triadic
#272E9A #9A272E #2E9A27
tetradic
#272E9A #9A2767 #9A9327 #279A5A
square
#272E9A #9A2767 #9A9327 #279A5A
split-complementary
#272E9A #9A5A27 #679A27
monochromatic
#0E1138 #1B1F69 #272E9A #333DCB #646BD8

Accessibility & contrast

On white

10.80
#272E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272E9A
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272E9A#FFFFFF#000000##FFFFFF
##272E9A1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#003898
Tritanopia (blue-blind)
#004C60
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #272e9a;
/* rgb */ color: rgb(39, 46, 154);
/* oklch */ color: oklch(37.6% 0.172 271.9);
Tailwind
colors: {
  custom: {
    50: '#7467b9',
    500: '#272e9a',
    950: '#000000',
  },
}
SCSS
$custom: #272e9a;
$custom-light: #7467b9;
$custom-dark: #000000;
JSON
{
  "hex": "#272e9a",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 154
  },
  "hsl": {
    "h": 236.348,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37582,
    "c": 0.17195,
    "h": 271.9
  },
  "luminance": 0.04718
}

Semantic roles & 50–950 ramp

primary
#272E9A
secondary
#BDB85F
accent
#D945E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #272E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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