#272E7D#272E7D

#272E7D is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.8% C 0.132 H 273.5°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#272E7D
RGBrgb(39, 46, 125)
HSLhsl(235, 52%, 32%)
HSVhsv(235, 69%, 49%)
CMYKcmyk(68.8%, 63.2%, 0%, 51%)
CIE-LABlab(23.22, 24.50, -45.79)
CIE-LCHlch(23.22, 51.93, 298.15°)
OKLaboklab(34.79% 0.008 -0.132)
OKLCHoklch(34.79% 0.132 273.5)
XYZxyz(5.5141, 3.8655, 19.8536)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272E7D #7D7627
analogous
#27597D #272E7D #4B277D
triadic
#272E7D #7D272E #2E7D27
tetradic
#272E7D #7D2759 #7D7627 #277D4B
square
#272E7D #7D2759 #7D7627 #277D4B
split-complementary
#272E7D #7D4B27 #597D27
monochromatic
#0A0C20 #181D4E #272E7D #363FAC #555ECA

Accessibility & contrast

On white

11.84
#272E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#272E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272E7D
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272E7D#FFFFFF#000000##FFFFFF
##272E7D1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#00347B
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #272e7d;
/* rgb */ color: rgb(39, 46, 125);
/* oklch */ color: oklch(34.8% 0.132 273.5);
Tailwind
colors: {
  custom: {
    50: '#6d66a3',
    500: '#272e7d',
    950: '#000000',
  },
}
SCSS
$custom: #272e7d;
$custom-light: #6d66a3;
$custom-dark: #000000;
JSON
{
  "hex": "#272e7d",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 125
  },
  "hsl": {
    "h": 235.116,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3479,
    "c": 0.13221,
    "h": 273.5
  },
  "luminance": 0.03866
}

Semantic roles & 50–950 ramp

primary
#272E7D
secondary
#AFA751
accent
#D04CDC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #272E7D

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

Preview Lab → · Contrast checker → · Palette generator →

#272E7D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva