#272F99#272F99

#272F99 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.170 H 271.7°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#272F99
RGBrgb(39, 47, 153)
HSLhsl(236, 59%, 38%)
HSVhsv(236, 75%, 60%)
CMYKcmyk(74.5%, 69.3%, 0%, 40%)
CIE-LABlab(26.05, 34.17, -58.57)
CIE-LCHlch(26.05, 67.81, 300.26°)
OKLaboklab(37.65% 0.0052 -0.1694)
OKLCHoklch(37.65% 0.17 271.7)
XYZxyz(7.6010, 4.7635, 30.6497)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272F99 #999127
analogous
#276899 #272F99 #582799
triadic
#272F99 #99272F #2F9927
tetradic
#272F99 #992768 #999127 #279958
square
#272F99 #992768 #999127 #279958
split-complementary
#272F99 #995827 #689927
monochromatic
#0E1137 #1B2068 #272F99 #333ECA #636BD7

Accessibility & contrast

On white

10.75
#272F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#272F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272F99
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272F99#FFFFFF#000000##FFFFFF
##272F991.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #272f99;
/* rgb */ color: rgb(39, 47, 153);
/* oklch */ color: oklch(37.6% 0.170 271.7);
Tailwind
colors: {
  custom: {
    50: '#7368b8',
    500: '#272f99',
    950: '#000000',
  },
}
SCSS
$custom: #272f99;
$custom-light: #7368b8;
$custom-dark: #000000;
JSON
{
  "hex": "#272f99",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 235.789,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.3765,
    "c": 0.1695,
    "h": 271.7
  },
  "luminance": 0.04764
}

Semantic roles & 50–950 ramp

primary
#272F99
secondary
#BDB65F
accent
#D845E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #272F99

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

Preview Lab → · Contrast checker → · Palette generator →

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