#272E9F#272E9F

#272E9F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.1% C 0.178 H 271.6°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#272E9F
RGBrgb(39, 46, 159)
HSLhsl(237, 61%, 39%)
HSVhsv(237, 75%, 62%)
CMYKcmyk(75.5%, 71.1%, 0%, 37.6%)
CIE-LABlab(26.41, 36.94, -61.64)
CIE-LCHlch(26.41, 71.86, 300.94°)
OKLaboklab(38.09% 0.005 -0.1784)
OKLCHoklch(38.09% 0.178 271.6)
XYZxyz(8.0696, 4.8877, 33.3123)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272E9F #9F9827
analogous
#276A9F #272E9F #5C279F
triadic
#272E9F #9F272E #2E9F27
tetradic
#272E9F #9F276A #9F9827 #279F5C
square
#272E9F #9F276A #9F9827 #279F5C
split-complementary
#272E9F #9F5C27 #6A9F27
monochromatic
#0F123D #1B206E #272E9F #363ECE #676DDA

Accessibility & contrast

On white

10.62
#272E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#272E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272E9F
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272E9F#FFFFFF#000000##FFFFFF
##272E9F1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #272e9f;
/* rgb */ color: rgb(39, 46, 159);
/* oklch */ color: oklch(38.1% 0.178 271.6);
Tailwind
colors: {
  custom: {
    50: '#7567bc',
    500: '#272e9f',
    950: '#000000',
  },
}
SCSS
$custom: #272e9f;
$custom-light: #7567bc;
$custom-dark: #000000;
JSON
{
  "hex": "#272e9f",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 236.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38091,
    "c": 0.17844,
    "h": 271.6
  },
  "luminance": 0.04889
}

Semantic roles & 50–950 ramp

primary
#272E9F
secondary
#C0BA62
accent
#DA44E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #272E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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