#273FA7#273FA7

#273FA7 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.9% C 0.169 H 268.0°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#273FA7
RGBrgb(39, 63, 167)
HSLhsl(229, 62%, 40%)
HSVhsv(229, 77%, 65%)
CMYKcmyk(76.6%, 62.3%, 0%, 34.5%)
CIE-LABlab(31.29, 28.91, -58.48)
CIE-LCHlch(31.29, 65.23, 296.31°)
OKLaboklab(41.88% -0.0058 -0.169)
OKLCHoklch(41.88% 0.169 268)
XYZxyz(9.5868, 6.7753, 37.3542)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273FA7 #A78F27
analogous
#277FA7 #273FA7 #4F27A7
triadic
#273FA7 #A7273F #3FA727
tetradic
#273FA7 #A7277F #A78F27 #27A74F
square
#273FA7 #A7277F #A78F27 #27A74F
split-complementary
#273FA7 #A74F27 #7FA727
monochromatic
#101A44 #1B2C75 #273FA7 #3A56D1 #6C81DD

Accessibility & contrast

On white

8.92
#273FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#273FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273FA7
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273FA7#FFFFFF#000000##FFFFFF
##273FA71.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AA
Deuteranopia (green-blind)
#0044A5
Tritanopia (blue-blind)
#005A6D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #273fa7;
/* rgb */ color: rgb(39, 63, 167);
/* oklch */ color: oklch(41.9% 0.169 268.0);
Tailwind
colors: {
  custom: {
    50: '#7573c2',
    500: '#273fa7',
    950: '#000000',
  },
}
SCSS
$custom: #273fa7;
$custom-light: #7573c2;
$custom-dark: #000000;
JSON
{
  "hex": "#273fa7",
  "rgb": {
    "r": 39,
    "g": 63,
    "b": 167
  },
  "hsl": {
    "h": 228.75,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41883,
    "c": 0.16911,
    "h": 268
  },
  "luminance": 0.06776
}

Semantic roles & 50–950 ramp

primary
#273FA7
secondary
#C3B267
accent
#C743E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #273FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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