#273EA1#273EA1

#273EA1 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.2% C 0.162 H 268.2°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#273EA1
RGBrgb(39, 62, 161)
HSLhsl(229, 61%, 39%)
HSVhsv(229, 76%, 63%)
CMYKcmyk(75.8%, 61.5%, 0%, 36.9%)
CIE-LABlab(30.52, 27.31, -56.12)
CIE-LCHlch(30.52, 62.41, 295.95°)
OKLaboklab(41.15% -0.005 -0.1621)
OKLCHoklch(41.15% 0.162 268.2)
XYZxyz(8.9901, 6.4488, 34.4822)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273EA1 #A18A27
analogous
#277BA1 #273EA1 #4D27A1
triadic
#273EA1 #A1273E #3EA127
tetradic
#273EA1 #A1277B #A18A27 #27A14D
square
#273EA1 #A1277B #A18A27 #27A14D
split-complementary
#273EA1 #A14D27 #7BA127
monochromatic
#0F183E #1B2B70 #273EA1 #3753CE #687EDA

Accessibility & contrast

On white

9.17
#273EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#273EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273EA1
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273EA1#FFFFFF#000000##FFFFFF
##273EA11.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#00429F
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #273ea1;
/* rgb */ color: rgb(39, 62, 161);
/* oklch */ color: oklch(41.2% 0.162 268.2);
Tailwind
colors: {
  custom: {
    50: '#7473be',
    500: '#273ea1',
    950: '#000000',
  },
}
SCSS
$custom: #273ea1;
$custom-light: #7473be;
$custom-dark: #000000;
JSON
{
  "hex": "#273ea1",
  "rgb": {
    "r": 39,
    "g": 62,
    "b": 161
  },
  "hsl": {
    "h": 228.689,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41152,
    "c": 0.1622,
    "h": 268.2
  },
  "luminance": 0.0645
}

Semantic roles & 50–950 ramp

primary
#273EA1
secondary
#C0AF63
accent
#C644E4
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #273EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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