#273281#273281

#273281 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.9% C 0.133 H 271.9°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#273281
RGBrgb(39, 50, 129)
HSLhsl(233, 54%, 33%)
HSVhsv(233, 70%, 51%)
CMYKcmyk(69.8%, 61.2%, 0%, 49.4%)
CIE-LABlab(24.63, 23.27, -46.02)
CIE-LCHlch(24.63, 51.57, 296.83°)
OKLaboklab(35.94% 0.0044 -0.1326)
OKLCHoklch(35.94% 0.133 271.9)
XYZxyz(5.9384, 4.2970, 21.2811)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273281 #817627
analogous
#275F81 #273281 #492781
triadic
#273281 #812732 #328127
tetradic
#273281 #81275F #817627 #278149
square
#273281 #81275F #817627 #278149
split-complementary
#273281 #814927 #5F8127
monochromatic
#0B0E23 #192052 #273281 #3544B0 #5665CC

Accessibility & contrast

On white

11.29
#273281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#273281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273281
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273281#FFFFFF#000000##FFFFFF
##2732811.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F84
Deuteranopia (green-blind)
#00367F
Tritanopia (blue-blind)
#004654
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #273281;
/* rgb */ color: rgb(39, 50, 129);
/* oklch */ color: oklch(35.9% 0.133 271.9);
Tailwind
colors: {
  custom: {
    50: '#6d69a6',
    500: '#273281',
    950: '#000000',
  },
}
SCSS
$custom: #273281;
$custom-light: #6d69a6;
$custom-dark: #000000;
JSON
{
  "hex": "#273281",
  "rgb": {
    "r": 39,
    "g": 50,
    "b": 129
  },
  "hsl": {
    "h": 232.667,
    "s": 53.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35938,
    "c": 0.13266,
    "h": 271.9
  },
  "luminance": 0.04298
}

Semantic roles & 50–950 ramp

primary
#273281
secondary
#B1A553
accent
#CB4BDD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #273281

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

Preview Lab → · Contrast checker → · Palette generator →

#273281 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva