#273AA5#273AA5

#273AA5 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.8% C 0.172 H 269.2°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#273AA5
RGBrgb(39, 58, 165)
HSLhsl(231, 62%, 40%)
HSVhsv(231, 76%, 65%)
CMYKcmyk(76.4%, 64.8%, 0%, 35.3%)
CIE-LABlab(29.84, 31.46, -59.64)
CIE-LCHlch(29.84, 67.42, 297.81°)
OKLaboklab(40.76% -0.0025 -0.1725)
OKLCHoklch(40.76% 0.172 269.2)
XYZxyz(9.1389, 6.1731, 36.2999)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273AA5 #A59227
analogous
#2779A5 #273AA5 #5327A5
triadic
#273AA5 #A5273A #3AA527
tetradic
#273AA5 #A52779 #A59227 #27A553
square
#273AA5 #A52779 #A59227 #27A553
split-complementary
#273AA5 #A55327 #79A527
monochromatic
#101742 #1B2974 #273AA5 #3950D0 #6A7CDC

Accessibility & contrast

On white

9.40
#273AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#273AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273AA5
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273AA5#FFFFFF#000000##FFFFFF
##273AA51.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA8
Deuteranopia (green-blind)
#0040A3
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #273aa5;
/* rgb */ color: rgb(39, 58, 165);
/* oklch */ color: oklch(40.8% 0.172 269.2);
Tailwind
colors: {
  custom: {
    50: '#7570c1',
    500: '#273aa5',
    950: '#000000',
  },
}
SCSS
$custom: #273aa5;
$custom-light: #7570c1;
$custom-dark: #000000;
JSON
{
  "hex": "#273aa5",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 165
  },
  "hsl": {
    "h": 230.952,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.40763,
    "c": 0.17249,
    "h": 269.2
  },
  "luminance": 0.06174
}

Semantic roles & 50–950 ramp

primary
#273AA5
secondary
#C2B466
accent
#CC43E5
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #273AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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