#273AA2#273AA2

#273AA2 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.5% C 0.168 H 269.2°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#273AA2
RGBrgb(39, 58, 162)
HSLhsl(231, 61%, 39%)
HSVhsv(231, 76%, 64%)
CMYKcmyk(75.9%, 64.2%, 0%, 36.5%)
CIE-LABlab(29.58, 30.34, -58.27)
CIE-LCHlch(29.58, 65.69, 297.50°)
OKLaboklab(40.48% -0.0024 -0.1684)
OKLCHoklch(40.48% 0.168 269.2)
XYZxyz(8.8691, 6.0651, 34.8787)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273AA2 #A28F27
analogous
#2778A2 #273AA2 #5227A2
triadic
#273AA2 #A2273A #3AA227
tetradic
#273AA2 #A22778 #A28F27 #27A252
square
#273AA2 #A22778 #A28F27 #27A252
split-complementary
#273AA2 #A25227 #78A227
monochromatic
#0F173F #1B2871 #273AA2 #374FCF #697ADB

Accessibility & contrast

On white

9.49
#273AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273AA2
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273AA2#FFFFFF#000000##FFFFFF
##273AA21.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#0040A0
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #273aa2;
/* rgb */ color: rgb(39, 58, 162);
/* oklch */ color: oklch(40.5% 0.168 269.2);
Tailwind
colors: {
  custom: {
    50: '#7570be',
    500: '#273aa2',
    950: '#000000',
  },
}
SCSS
$custom: #273aa2;
$custom-light: #7570be;
$custom-dark: #000000;
JSON
{
  "hex": "#273aa2",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 162
  },
  "hsl": {
    "h": 230.732,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40482,
    "c": 0.16847,
    "h": 269.2
  },
  "luminance": 0.06066
}

Semantic roles & 50–950 ramp

primary
#273AA2
secondary
#C1B364
accent
#CB43E4
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #273AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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