#272E85#272E85

#272E85 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.144 H 273.0°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#272E85
RGBrgb(39, 46, 133)
HSLhsl(236, 55%, 34%)
HSVhsv(236, 71%, 52%)
CMYKcmyk(70.7%, 65.4%, 0%, 47.8%)
CIE-LABlab(23.93, 27.49, -49.67)
CIE-LCHlch(23.93, 56.77, 298.96°)
OKLaboklab(35.53% 0.0076 -0.1434)
OKLCHoklch(35.53% 0.144 273)
XYZxyz(6.0459, 4.0782, 22.6543)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272E85 #857E27
analogous
#275D85 #272E85 #4F2785
triadic
#272E85 #85272E #2E8527
tetradic
#272E85 #85275D #857E27 #27854F
square
#272E85 #85275D #857E27 #27854F
split-complementary
#272E85 #854F27 #5D8527
monochromatic
#0B0D26 #191E56 #272E85 #353EB4 #5861CE

Accessibility & contrast

On white

11.57
#272E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#272E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272E85
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272E85#FFFFFF#000000##FFFFFF
##272E851.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#003583
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #272e85;
/* rgb */ color: rgb(39, 46, 133);
/* oklch */ color: oklch(35.5% 0.144 273.0);
Tailwind
colors: {
  custom: {
    50: '#6f67a9',
    500: '#272e85',
    950: '#000000',
  },
}
SCSS
$custom: #272e85;
$custom-light: #6f67a9;
$custom-dark: #000000;
JSON
{
  "hex": "#272e85",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 133
  },
  "hsl": {
    "h": 235.532,
    "s": 54.651,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35529,
    "c": 0.14356,
    "h": 273
  },
  "luminance": 0.04079
}

Semantic roles & 50–950 ramp

primary
#272E85
secondary
#B3AC55
accent
#D34ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #272E85

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

Preview Lab → · Contrast checker → · Palette generator →

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