#273291#273291

#273291 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.4% C 0.155 H 271.4°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#273291
RGBrgb(39, 50, 145)
HSLhsl(234, 58%, 36%)
HSVhsv(234, 73%, 57%)
CMYKcmyk(73.1%, 65.5%, 0%, 43.1%)
CIE-LABlab(26.03, 29.28, -53.69)
CIE-LCHlch(26.03, 61.16, 298.61°)
OKLaboklab(37.4% 0.0039 -0.1551)
OKLCHoklch(37.4% 0.155 271.4)
XYZxyz(7.0864, 4.7562, 27.3271)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273291 #918627
analogous
#276791 #273291 #512791
triadic
#273291 #912732 #329127
tetradic
#273291 #912767 #918627 #279151
square
#273291 #912767 #918627 #279151
split-complementary
#273291 #915127 #679127
monochromatic
#0D1131 #1A2161 #273291 #3443C1 #5F6BD4

Accessibility & contrast

On white

10.76
#273291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#273291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273291
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273291#FFFFFF#000000##FFFFFF
##2732911.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#00398F
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #273291;
/* rgb */ color: rgb(39, 50, 145);
/* oklch */ color: oklch(37.4% 0.155 271.4);
Tailwind
colors: {
  custom: {
    50: '#716ab2',
    500: '#273291',
    950: '#000000',
  },
}
SCSS
$custom: #273291;
$custom-light: #716ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#273291",
  "rgb": {
    "r": 39,
    "g": 50,
    "b": 145
  },
  "hsl": {
    "h": 233.774,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37404,
    "c": 0.15517,
    "h": 271.4
  },
  "luminance": 0.04757
}

Semantic roles & 50–950 ramp

primary
#273291
secondary
#B9AF5B
accent
#D147E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #273291

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

Preview Lab → · Contrast checker → · Palette generator →

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