#272175#272175

#272175 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.138 H 278.2°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#272175
RGBrgb(39, 33, 117)
HSLhsl(244, 56%, 29%)
HSVhsv(244, 72%, 46%)
CMYKcmyk(66.7%, 71.8%, 0%, 54.1%)
CIE-LABlab(19.24, 30.20, -47.20)
CIE-LCHlch(19.24, 56.04, 302.61°)
OKLaboklab(31.66% 0.0197 -0.1362)
OKLCHoklch(31.66% 0.138 278.2)
XYZxyz(4.5904, 2.8030, 17.1253)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272175 #6F7521
analogous
#214575 #272175 #512175
triadic
#272175 #752721 #217527
tetradic
#272175 #752145 #6F7521 #217551
square
#272175 #752145 #6F7521 #217551
split-complementary
#272175 #755121 #457521
monochromatic
#080718 #171445 #272175 #372EA5 #4F46CB

Accessibility & contrast

On white

13.46
#272175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#272175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272175
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272175#FFFFFF#000000##FFFFFF
##2721751.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003278
Deuteranopia (green-blind)
#002B73
Tritanopia (blue-blind)
#003748
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #272175;
/* rgb */ color: rgb(39, 33, 117);
/* oklch */ color: oklch(31.7% 0.138 278.2);
Tailwind
colors: {
  custom: {
    50: '#6c5d9e',
    500: '#272175',
    950: '#000000',
  },
}
SCSS
$custom: #272175;
$custom-light: #6c5d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#272175",
  "rgb": {
    "r": 39,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 244.286,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31657,
    "c": 0.1376,
    "h": 278.2
  },
  "luminance": 0.02803
}

Semantic roles & 50–950 ramp

primary
#272175
secondary
#A2A84A
accent
#DF49D5
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #272175

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

Preview Lab → · Contrast checker → · Palette generator →

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