#272D9E#272D9E

#272D9E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.178 H 271.8°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#272D9E
RGBrgb(39, 45, 158)
HSLhsl(237, 60%, 39%)
HSVhsv(237, 75%, 62%)
CMYKcmyk(75.3%, 71.5%, 0%, 38%)
CIE-LABlab(26.09, 37.21, -61.57)
CIE-LCHlch(26.09, 71.94, 301.15°)
OKLaboklab(37.83% 0.0057 -0.1782)
OKLCHoklch(37.83% 0.178 271.8)
XYZxyz(7.9446, 4.7759, 32.8443)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272D9E #9E9827
analogous
#27689E #272D9E #5C279E
triadic
#272D9E #9E272D #2D9E27
tetradic
#272D9E #9E2768 #9E9827 #279E5C
square
#272D9E #9E2768 #9E9827 #279E5C
split-complementary
#272D9E #9E5C27 #689E27
monochromatic
#0F113C #1B1F6D #272D9E #353DCD #666CD9

Accessibility & contrast

On white

10.74
#272D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#272D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272D9E
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272D9E#FFFFFF#000000##FFFFFF
##272D9E1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#00389C
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #272d9e;
/* rgb */ color: rgb(39, 45, 158);
/* oklch */ color: oklch(37.8% 0.178 271.8);
Tailwind
colors: {
  custom: {
    50: '#7567bc',
    500: '#272d9e',
    950: '#000000',
  },
}
SCSS
$custom: #272d9e;
$custom-light: #7567bc;
$custom-dark: #000000;
JSON
{
  "hex": "#272d9e",
  "rgb": {
    "r": 39,
    "g": 45,
    "b": 158
  },
  "hsl": {
    "h": 236.975,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37826,
    "c": 0.17825,
    "h": 271.8
  },
  "luminance": 0.04777
}

Semantic roles & 50–950 ramp

primary
#272D9E
secondary
#BFBA62
accent
#DC44E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #272D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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