#273CA1#273CA1

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

Color values

HEX#273CA1
RGBrgb(39, 60, 161)
HSLhsl(230, 61%, 39%)
HSVhsv(230, 76%, 63%)
CMYKcmyk(75.8%, 62.7%, 0%, 36.9%)
CIE-LABlab(30.00, 28.64, -56.97)
CIE-LCHlch(30.00, 63.76, 296.69°)
OKLaboklab(40.77% -0.0037 -0.1646)
OKLCHoklch(40.77% 0.165 268.7)
XYZxyz(8.8834, 6.2353, 34.4467)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273CA1 #A18C27
analogous
#2779A1 #273CA1 #4F27A1
triadic
#273CA1 #A1273C #3CA127
tetradic
#273CA1 #A12779 #A18C27 #27A14F
square
#273CA1 #A12779 #A18C27 #27A14F
split-complementary
#273CA1 #A14F27 #79A127
monochromatic
#0F173E #1B2A70 #273CA1 #3751CE #687CDA

Accessibility & contrast

On white

9.34
#273CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#273CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273CA1
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273CA1#FFFFFF#000000##FFFFFF
##273CA11.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA4
Deuteranopia (green-blind)
#00419F
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #273ca1;
/* rgb */ color: rgb(39, 60, 161);
/* oklch */ color: oklch(40.8% 0.165 268.7);
Tailwind
colors: {
  custom: {
    50: '#7471be',
    500: '#273ca1',
    950: '#000000',
  },
}
SCSS
$custom: #273ca1;
$custom-light: #7471be;
$custom-dark: #000000;
JSON
{
  "hex": "#273ca1",
  "rgb": {
    "r": 39,
    "g": 60,
    "b": 161
  },
  "hsl": {
    "h": 229.672,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40767,
    "c": 0.16468,
    "h": 268.7
  },
  "luminance": 0.06236
}

Semantic roles & 50–950 ramp

primary
#273CA1
secondary
#C0B063
accent
#C944E4
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #273CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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