#272F9E#272F9E

#272F9E is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.176 H 271.5°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#272F9E
RGBrgb(39, 47, 158)
HSLhsl(236, 60%, 39%)
HSVhsv(236, 75%, 62%)
CMYKcmyk(75.3%, 70.3%, 0%, 38%)
CIE-LABlab(26.54, 35.97, -60.82)
CIE-LCHlch(26.54, 70.66, 300.60°)
OKLaboklab(38.15% 0.0046 -0.176)
OKLCHoklch(38.15% 0.176 271.5)
XYZxyz(8.0227, 4.9321, 32.8703)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272F9E #9E9627
analogous
#276A9E #272F9E #5A279E
triadic
#272F9E #9E272F #2F9E27
tetradic
#272F9E #9E276A #9E9627 #279E5A
square
#272F9E #9E276A #9E9627 #279E5A
split-complementary
#272F9E #9E5A27 #6A9E27
monochromatic
#0F123C #1B206D #272F9E #353FCD #666ED9

Accessibility & contrast

On white

10.57
#272F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#272F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272F9E
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272F9E#FFFFFF#000000##FFFFFF
##272F9E1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00399C
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #272f9e;
/* rgb */ color: rgb(39, 47, 158);
/* oklch */ color: oklch(38.2% 0.176 271.5);
Tailwind
colors: {
  custom: {
    50: '#7568bc',
    500: '#272f9e',
    950: '#000000',
  },
}
SCSS
$custom: #272f9e;
$custom-light: #7568bc;
$custom-dark: #000000;
JSON
{
  "hex": "#272f9e",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 158
  },
  "hsl": {
    "h": 235.966,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38154,
    "c": 0.17604,
    "h": 271.5
  },
  "luminance": 0.04933
}

Semantic roles & 50–950 ramp

primary
#272F9E
secondary
#BFB962
accent
#D944E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #272F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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