#273AA8#273AA8

#273AA8 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.0% C 0.176 H 269.1°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#273AA8
RGBrgb(39, 58, 168)
HSLhsl(231, 62%, 41%)
HSVhsv(231, 77%, 66%)
CMYKcmyk(76.8%, 65.5%, 0%, 34.1%)
CIE-LABlab(30.12, 32.57, -61.00)
CIE-LCHlch(30.12, 69.15, 298.10°)
OKLaboklab(41.05% -0.0026 -0.1764)
OKLCHoklch(41.05% 0.176 269.1)
XYZxyz(9.4152, 6.2836, 37.7548)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273AA8 #A89527
analogous
#277AA8 #273AA8 #5427A8
triadic
#273AA8 #A8273A #3AA827
tetradic
#273AA8 #A8277A #A89527 #27A854
square
#273AA8 #A8277A #A89527 #27A854
split-complementary
#273AA8 #A85427 #7AA827
monochromatic
#101845 #1B2976 #273AA8 #3B51D1 #6C7DDD

Accessibility & contrast

On white

9.30
#273AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#273AA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273AA8
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273AA8#FFFFFF#000000##FFFFFF
##273AA81.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAB
Deuteranopia (green-blind)
#0041A6
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #273aa8;
/* rgb */ color: rgb(39, 58, 168);
/* oklch */ color: oklch(41.0% 0.176 269.1);
Tailwind
colors: {
  custom: {
    50: '#7670c3',
    500: '#273aa8',
    950: '#000000',
  },
}
SCSS
$custom: #273aa8;
$custom-light: #7670c3;
$custom-dark: #000000;
JSON
{
  "hex": "#273aa8",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 168
  },
  "hsl": {
    "h": 231.163,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41046,
    "c": 0.17647,
    "h": 269.1
  },
  "luminance": 0.06285
}

Semantic roles & 50–950 ramp

primary
#273AA8
secondary
#C3B667
accent
#CD42E5
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #273AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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