#273FA1#273FA1

#273FA1 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.3% C 0.161 H 268.0°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#273FA1
RGBrgb(39, 63, 161)
HSLhsl(228, 61%, 39%)
HSVhsv(228, 76%, 63%)
CMYKcmyk(75.8%, 60.9%, 0%, 36.9%)
CIE-LABlab(30.78, 26.64, -55.69)
CIE-LCHlch(30.78, 61.74, 295.56°)
OKLaboklab(41.35% -0.0057 -0.1608)
OKLCHoklch(41.35% 0.161 268)
XYZxyz(9.0450, 6.5586, 34.5005)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273FA1 #A18927
analogous
#277CA1 #273FA1 #4C27A1
triadic
#273FA1 #A1273F #3FA127
tetradic
#273FA1 #A1277C #A18927 #27A14C
square
#273FA1 #A1277C #A18927 #27A14C
split-complementary
#273FA1 #A14C27 #7CA127
monochromatic
#0F183E #1B2C70 #273FA1 #3755CE #687EDA

Accessibility & contrast

On white

9.08
#273FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#273FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273FA1
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273FA1#FFFFFF#000000##FFFFFF
##273FA11.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#00439F
Tritanopia (blue-blind)
#00586A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #273fa1;
/* rgb */ color: rgb(39, 63, 161);
/* oklch */ color: oklch(41.3% 0.161 268.0);
Tailwind
colors: {
  custom: {
    50: '#7473be',
    500: '#273fa1',
    950: '#000000',
  },
}
SCSS
$custom: #273fa1;
$custom-light: #7473be;
$custom-dark: #000000;
JSON
{
  "hex": "#273fa1",
  "rgb": {
    "r": 39,
    "g": 63,
    "b": 161
  },
  "hsl": {
    "h": 228.197,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41347,
    "c": 0.16095,
    "h": 268
  },
  "luminance": 0.0656
}

Semantic roles & 50–950 ramp

primary
#273FA1
secondary
#C0AE63
accent
#C544E4
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #273FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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