#272385#272385

#272385 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.157 H 275.7°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#272385
RGBrgb(39, 35, 133)
HSLhsl(242, 58%, 33%)
HSVhsv(242, 74%, 52%)
CMYKcmyk(70.7%, 73.7%, 0%, 47.8%)
CIE-LABlab(21.31, 34.57, -53.97)
CIE-LCHlch(21.31, 64.09, 302.64°)
OKLaboklab(33.63% 0.0155 -0.156)
OKLCHoklch(33.63% 0.157 275.7)
XYZxyz(5.6700, 3.3263, 22.5290)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272385 #818523
analogous
#235085 #272385 #582385
triadic
#272385 #852723 #238527
tetradic
#272385 #852350 #818523 #238558
square
#272385 #852350 #818523 #238558
split-complementary
#272385 #855823 #508523
monochromatic
#0B0924 #191655 #272385 #3530B5 #5651D1

Accessibility & contrast

On white

12.61
#272385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#272385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272385
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272385#FFFFFF#000000##FFFFFF
##2723851.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#002F83
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #272385;
/* rgb */ color: rgb(39, 35, 133);
/* oklch */ color: oklch(33.6% 0.157 275.7);
Tailwind
colors: {
  custom: {
    50: '#705faa',
    500: '#272385',
    950: '#000000',
  },
}
SCSS
$custom: #272385;
$custom-light: #705faa;
$custom-dark: #000000;
JSON
{
  "hex": "#272385",
  "rgb": {
    "r": 39,
    "g": 35,
    "b": 133
  },
  "hsl": {
    "h": 242.449,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3363,
    "c": 0.15674,
    "h": 275.7
  },
  "luminance": 0.03327
}

Semantic roles & 50–950 ramp

primary
#272385
secondary
#B1B54F
accent
#E246DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #272385

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

Preview Lab → · Contrast checker → · Palette generator →

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