#273AA1#273AA1

#273AA1 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.4% C 0.167 H 269.2°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#273AA1
RGBrgb(39, 58, 161)
HSLhsl(231, 61%, 39%)
HSVhsv(231, 76%, 63%)
CMYKcmyk(75.8%, 64%, 0%, 36.9%)
CIE-LABlab(29.49, 29.96, -57.81)
CIE-LCHlch(29.49, 65.11, 297.40°)
OKLaboklab(40.39% -0.0023 -0.1671)
OKLCHoklch(40.39% 0.167 269.2)
XYZxyz(8.7806, 6.0297, 34.4124)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273AA1 #A18E27
analogous
#2777A1 #273AA1 #5127A1
triadic
#273AA1 #A1273A #3AA127
tetradic
#273AA1 #A12777 #A18E27 #27A151
square
#273AA1 #A12777 #A18E27 #27A151
split-complementary
#273AA1 #A15127 #77A127
monochromatic
#0F173E #1B2870 #273AA1 #374ECE #687ADA

Accessibility & contrast

On white

9.52
#273AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#273AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273AA1
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273AA1#FFFFFF#000000##FFFFFF
##273AA11.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA4
Deuteranopia (green-blind)
#00409F
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #273aa1;
/* rgb */ color: rgb(39, 58, 161);
/* oklch */ color: oklch(40.4% 0.167 269.2);
Tailwind
colors: {
  custom: {
    50: '#7470be',
    500: '#273aa1',
    950: '#000000',
  },
}
SCSS
$custom: #273aa1;
$custom-light: #7470be;
$custom-dark: #000000;
JSON
{
  "hex": "#273aa1",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 161
  },
  "hsl": {
    "h": 230.656,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4039,
    "c": 0.16713,
    "h": 269.2
  },
  "luminance": 0.06031
}

Semantic roles & 50–950 ramp

primary
#273AA1
secondary
#C0B263
accent
#CB44E4
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #273AA1

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

Preview Lab → · Contrast checker → · Palette generator →

#273AA1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva