#272390#272390

#272390 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.8% C 0.171 H 274.5°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#272390
RGBrgb(39, 35, 144)
HSLhsl(242, 61%, 35%)
HSVhsv(242, 76%, 56%)
CMYKcmyk(72.9%, 75.7%, 0%, 43.5%)
CIE-LABlab(22.47, 38.35, -58.93)
CIE-LCHlch(22.47, 70.31, 303.06°)
OKLaboklab(34.8% 0.0134 -0.1704)
OKLCHoklch(34.8% 0.171 274.5)
XYZxyz(6.4701, 3.6464, 26.7430)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272390 #8C9023
analogous
#235590 #272390 #5E2390
triadic
#272390 #902723 #239027
tetradic
#272390 #902355 #8C9023 #23905E
square
#272390 #902355 #8C9023 #23905E
split-complementary
#272390 #905E23 #559023
monochromatic
#0C0B2E #1A175F #272390 #342FC1 #5C57D6

Accessibility & contrast

On white

12.14
#272390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#272390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272390
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272390#FFFFFF#000000##FFFFFF
##2723901.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#00318E
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #272390;
/* rgb */ color: rgb(39, 35, 144);
/* oklch */ color: oklch(34.8% 0.171 274.5);
Tailwind
colors: {
  custom: {
    50: '#725fb2',
    500: '#272390',
    950: '#000000',
  },
}
SCSS
$custom: #272390;
$custom-light: #725fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#272390",
  "rgb": {
    "r": 39,
    "g": 35,
    "b": 144
  },
  "hsl": {
    "h": 242.202,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34804,
    "c": 0.17095,
    "h": 274.5
  },
  "luminance": 0.03647
}

Semantic roles & 50–950 ramp

primary
#272390
secondary
#B7BA54
accent
#E444DE
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #272390

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

Preview Lab → · Contrast checker → · Palette generator →

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