#272A85#272A85

#272A85 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.149 H 274.1°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#272A85
RGBrgb(39, 42, 133)
HSLhsl(238, 55%, 34%)
HSVhsv(238, 71%, 52%)
CMYKcmyk(70.7%, 68.4%, 0%, 47.8%)
CIE-LABlab(22.93, 30.13, -51.30)
CIE-LCHlch(22.93, 59.50, 300.43°)
OKLaboklab(34.8% 0.0107 -0.1482)
OKLCHoklch(34.8% 0.149 274.1)
XYZxyz(5.8969, 3.7802, 22.6046)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272A85 #858227
analogous
#275985 #272A85 #532785
triadic
#272A85 #85272A #2A8527
tetradic
#272A85 #852759 #858227 #278553
square
#272A85 #852759 #858227 #278553
split-complementary
#272A85 #855327 #598527
monochromatic
#0B0C26 #191B56 #272A85 #3539B4 #585CCE

Accessibility & contrast

On white

11.96
#272A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272A85
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272A85#FFFFFF#000000##FFFFFF
##272A851.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B88
Deuteranopia (green-blind)
#003283
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #272a85;
/* rgb */ color: rgb(39, 42, 133);
/* oklch */ color: oklch(34.8% 0.149 274.1);
Tailwind
colors: {
  custom: {
    50: '#6f64a9',
    500: '#272a85',
    950: '#000000',
  },
}
SCSS
$custom: #272a85;
$custom-light: #6f64a9;
$custom-dark: #000000;
JSON
{
  "hex": "#272a85",
  "rgb": {
    "r": 39,
    "g": 42,
    "b": 133
  },
  "hsl": {
    "h": 238.085,
    "s": 54.651,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34801,
    "c": 0.14854,
    "h": 274.1
  },
  "luminance": 0.03781
}

Semantic roles & 50–950 ramp

primary
#272A85
secondary
#B3B055
accent
#D94ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #272A85

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

Preview Lab → · Contrast checker → · Palette generator →

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