#272E83#272E83

#272E83 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.141 H 273.1°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#272E83
RGBrgb(39, 46, 131)
HSLhsl(235, 54%, 33%)
HSVhsv(235, 70%, 51%)
CMYKcmyk(70.2%, 64.9%, 0%, 48.6%)
CIE-LABlab(23.75, 26.74, -48.71)
CIE-LCHlch(23.75, 55.57, 298.77°)
OKLaboklab(35.34% 0.0077 -0.1405)
OKLCHoklch(35.34% 0.141 273.1)
XYZxyz(5.9091, 4.0235, 21.9335)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272E83 #837C27
analogous
#275C83 #272E83 #4E2783
triadic
#272E83 #83272E #2E8327
tetradic
#272E83 #83275C #837C27 #27834E
square
#272E83 #83275C #837C27 #27834E
split-complementary
#272E83 #834E27 #5C8327
monochromatic
#0B0D25 #191D54 #272E83 #353FB2 #5760CD

Accessibility & contrast

On white

11.64
#272E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#272E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272E83
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272E83#FFFFFF#000000##FFFFFF
##272E831.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#003481
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #272e83;
/* rgb */ color: rgb(39, 46, 131);
/* oklch */ color: oklch(35.3% 0.141 273.1);
Tailwind
colors: {
  custom: {
    50: '#6e66a8',
    500: '#272e83',
    950: '#000000',
  },
}
SCSS
$custom: #272e83;
$custom-light: #6e66a8;
$custom-dark: #000000;
JSON
{
  "hex": "#272e83",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 131
  },
  "hsl": {
    "h": 235.435,
    "s": 54.118,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35342,
    "c": 0.14075,
    "h": 273.1
  },
  "luminance": 0.04024
}

Semantic roles & 50–950 ramp

primary
#272E83
secondary
#B2AB54
accent
#D24ADD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #272E83

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

Preview Lab → · Contrast checker → · Palette generator →

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