#272575#272575

#272575 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.4% C 0.133 H 277.1°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#272575
RGBrgb(39, 37, 117)
HSLhsl(242, 52%, 30%)
HSVhsv(242, 68%, 46%)
CMYKcmyk(66.7%, 68.4%, 0%, 54.1%)
CIE-LABlab(20.20, 27.61, -45.63)
CIE-LCHlch(20.20, 53.33, 301.17°)
OKLaboklab(32.35% 0.0164 -0.1316)
OKLCHoklch(32.35% 0.133 277.1)
XYZxyz(4.7081, 3.0384, 17.1645)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272575 #737525
analogous
#254B75 #272575 #4F2575
triadic
#272575 #752725 #257527
tetradic
#272575 #75254B #737525 #25754F
square
#272575 #75254B #737525 #25754F
split-complementary
#272575 #754F25 #4B7525
monochromatic
#080818 #181647 #272575 #3634A3 #514EC7

Accessibility & contrast

On white

13.06
#272575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#272575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272575
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272575#FFFFFF#000000##FFFFFF
##2725751.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003478
Deuteranopia (green-blind)
#002D73
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #272575;
/* rgb */ color: rgb(39, 37, 117);
/* oklch */ color: oklch(32.4% 0.133 277.1);
Tailwind
colors: {
  custom: {
    50: '#6c609e',
    500: '#272575',
    950: '#000000',
  },
}
SCSS
$custom: #272575;
$custom-light: #6c609e;
$custom-dark: #000000;
JSON
{
  "hex": "#272575",
  "rgb": {
    "r": 39,
    "g": 37,
    "b": 117
  },
  "hsl": {
    "h": 241.5,
    "s": 51.948,
    "l": 30.196
  },
  "oklch": {
    "l": 0.32351,
    "c": 0.13259,
    "h": 277.1
  },
  "luminance": 0.03039
}

Semantic roles & 50–950 ramp

primary
#272575
secondary
#A5A84E
accent
#DB4CD8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #272575

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

Preview Lab → · Contrast checker → · Palette generator →

#272575 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva