#272A99#272A99

#272A99 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.175 H 272.6°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#272A99
RGBrgb(39, 42, 153)
HSLhsl(238, 59%, 38%)
HSVhsv(238, 75%, 60%)
CMYKcmyk(74.5%, 72.5%, 0%, 40%)
CIE-LABlab(24.91, 37.29, -60.45)
CIE-LCHlch(24.91, 71.03, 301.67°)
OKLaboklab(36.83% 0.008 -0.1749)
OKLCHoklch(36.83% 0.175 272.6)
XYZxyz(7.4125, 4.3864, 30.5868)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272A99 #999627
analogous
#276399 #272A99 #5D2799
triadic
#272A99 #99272A #2A9927
tetradic
#272A99 #992763 #999627 #27995D
square
#272A99 #992763 #999627 #27995D
split-complementary
#272A99 #995D27 #639927
monochromatic
#0E0F37 #1B1D68 #272A99 #3337CA #6366D7

Accessibility & contrast

On white

11.19
#272A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#272A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272A99
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272A99#FFFFFF#000000##FFFFFF
##272A991.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419C
Deuteranopia (green-blind)
#003697
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #272a99;
/* rgb */ color: rgb(39, 42, 153);
/* oklch */ color: oklch(36.8% 0.175 272.6);
Tailwind
colors: {
  custom: {
    50: '#7464b8',
    500: '#272a99',
    950: '#000000',
  },
}
SCSS
$custom: #272a99;
$custom-light: #7464b8;
$custom-dark: #000000;
JSON
{
  "hex": "#272a99",
  "rgb": {
    "r": 39,
    "g": 42,
    "b": 153
  },
  "hsl": {
    "h": 238.421,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36829,
    "c": 0.17507,
    "h": 272.6
  },
  "luminance": 0.04387
}

Semantic roles & 50–950 ramp

primary
#272A99
secondary
#BDBA5F
accent
#DE45E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #272A99

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

Preview Lab → · Contrast checker → · Palette generator →

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