#272E7B#272E7B

#272E7B is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.6% C 0.129 H 273.6°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#272E7B
RGBrgb(39, 46, 123)
HSLhsl(235, 52%, 32%)
HSVhsv(235, 68%, 48%)
CMYKcmyk(68.3%, 62.6%, 0%, 51.8%)
CIE-LABlab(23.05, 23.75, -44.80)
CIE-LCHlch(23.05, 50.71, 297.93°)
OKLaboklab(34.61% 0.008 -0.1291)
OKLCHoklch(34.61% 0.129 273.6)
XYZxyz(5.3877, 3.8149, 19.1875)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272E7B #7B7427
analogous
#27587B #272E7B #4A277B
triadic
#272E7B #7B272E #2E7B27
tetradic
#272E7B #7B2758 #7B7427 #277B4A
square
#272E7B #7B2758 #7B7427 #277B4A
split-complementary
#272E7B #7B4A27 #587B27
monochromatic
#0A0B1E #181D4D #272E7B #363FA9 #545DC9

Accessibility & contrast

On white

11.91
#272E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#272E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272E7B
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272E7B#FFFFFF#000000##FFFFFF
##272E7B1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#003379
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #272e7b;
/* rgb */ color: rgb(39, 46, 123);
/* oklch */ color: oklch(34.6% 0.129 273.6);
Tailwind
colors: {
  custom: {
    50: '#6c66a2',
    500: '#272e7b',
    950: '#000000',
  },
}
SCSS
$custom: #272e7b;
$custom-light: #6c66a2;
$custom-dark: #000000;
JSON
{
  "hex": "#272e7b",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 123
  },
  "hsl": {
    "h": 235,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34609,
    "c": 0.12932,
    "h": 273.6
  },
  "luminance": 0.03815
}

Semantic roles & 50–950 ramp

primary
#272E7B
secondary
#ADA551
accent
#CF4CDB
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #272E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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