#273AA3#273AA3

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

Color values

HEX#273AA3
RGBrgb(39, 58, 163)
HSLhsl(231, 61%, 40%)
HSVhsv(231, 76%, 64%)
CMYKcmyk(76.1%, 64.4%, 0%, 36.1%)
CIE-LABlab(29.67, 30.71, -58.72)
CIE-LCHlch(29.67, 66.27, 297.61°)
OKLaboklab(40.58% -0.0024 -0.1698)
OKLCHoklch(40.58% 0.17 269.2)
XYZxyz(8.9583, 6.1008, 35.3487)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273AA3 #A39027
analogous
#2778A3 #273AA3 #5227A3
triadic
#273AA3 #A3273A #3AA327
tetradic
#273AA3 #A32778 #A39027 #27A352
square
#273AA3 #A32778 #A39027 #27A352
split-complementary
#273AA3 #A35227 #78A327
monochromatic
#0F1740 #1B2872 #273AA3 #384FCF #697BDB

Accessibility & contrast

On white

9.46
#273AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#273AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273AA3
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273AA3#FFFFFF#000000##FFFFFF
##273AA31.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA6
Deuteranopia (green-blind)
#0040A1
Tritanopia (blue-blind)
#005569
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #273aa3;
/* rgb */ color: rgb(39, 58, 163);
/* oklch */ color: oklch(40.6% 0.170 269.2);
Tailwind
colors: {
  custom: {
    50: '#7570bf',
    500: '#273aa3',
    950: '#000000',
  },
}
SCSS
$custom: #273aa3;
$custom-light: #7570bf;
$custom-dark: #000000;
JSON
{
  "hex": "#273aa3",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 163
  },
  "hsl": {
    "h": 230.806,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40576,
    "c": 0.16981,
    "h": 269.2
  },
  "luminance": 0.06102
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #273AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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