#272698#272698

#272698 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.1% C 0.178 H 273.3°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#272698
RGBrgb(39, 38, 152)
HSLhsl(241, 60%, 37%)
HSVhsv(241, 75%, 60%)
CMYKcmyk(74.3%, 75%, 0%, 40.4%)
CIE-LABlab(23.95, 39.33, -61.43)
CIE-LCHlch(23.95, 72.94, 302.63°)
OKLaboklab(36.11% 0.0103 -0.1777)
OKLCHoklch(36.11% 0.178 273.3)
XYZxyz(7.1954, 4.0838, 30.1087)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272698 #979826
analogous
#265E98 #272698 #602698
triadic
#272698 #982726 #269827
tetradic
#272698 #98265E #979826 #269860
square
#272698 #98265E #979826 #269860
split-complementary
#272698 #986026 #5E9826
monochromatic
#0E0E36 #1A1A67 #272698 #3432C9 #6261D7

Accessibility & contrast

On white

11.56
#272698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#272698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272698
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272698#FFFFFF#000000##FFFFFF
##2726981.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9B
Deuteranopia (green-blind)
#003396
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #272698;
/* rgb */ color: rgb(39, 38, 152);
/* oklch */ color: oklch(36.1% 0.178 273.3);
Tailwind
colors: {
  custom: {
    50: '#7462b7',
    500: '#272698',
    950: '#000000',
  },
}
SCSS
$custom: #272698;
$custom-light: #7462b7;
$custom-dark: #000000;
JSON
{
  "hex": "#272698",
  "rgb": {
    "r": 39,
    "g": 38,
    "b": 152
  },
  "hsl": {
    "h": 240.526,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.3611,
    "c": 0.17801,
    "h": 273.3
  },
  "luminance": 0.04085
}

Semantic roles & 50–950 ramp

primary
#272698
secondary
#BCBD5D
accent
#E345E2
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #272698

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

Preview Lab → · Contrast checker → · Palette generator →

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