#273BAA#273BAA

#273BAA is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.4% C 0.178 H 268.9°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#273BAA
RGBrgb(39, 59, 170)
HSLhsl(231, 63%, 41%)
HSVhsv(231, 77%, 67%)
CMYKcmyk(77.1%, 65.3%, 0%, 33.3%)
CIE-LABlab(30.55, 32.66, -61.49)
CIE-LCHlch(30.55, 69.63, 297.97°)
OKLaboklab(41.42% -0.0033 -0.1779)
OKLCHoklch(41.42% 0.178 268.9)
XYZxyz(9.6539, 6.4605, 38.7606)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273BAA #AA9627
analogous
#277CAA #273BAA #5427AA
triadic
#273BAA #AA273B #3BAA27
tetradic
#273BAA #AA277C #AA9627 #27AA54
square
#273BAA #AA277C #AA9627 #27AA54
split-complementary
#273BAA #AA5427 #7CAA27
monochromatic
#101846 #1C2A78 #273BAA #3C53D2 #6E7FDE

Accessibility & contrast

On white

9.16
#273BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#273BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273BAA
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273BAA#FFFFFF#000000##FFFFFF
##273BAA1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0042A8
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #273baa;
/* rgb */ color: rgb(39, 59, 170);
/* oklch */ color: oklch(41.4% 0.178 268.9);
Tailwind
colors: {
  custom: {
    50: '#7671c4',
    500: '#273baa',
    950: '#000000',
  },
}
SCSS
$custom: #273baa;
$custom-light: #7671c4;
$custom-dark: #000000;
JSON
{
  "hex": "#273baa",
  "rgb": {
    "r": 39,
    "g": 59,
    "b": 170
  },
  "hsl": {
    "h": 230.84,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41416,
    "c": 0.17792,
    "h": 268.9
  },
  "luminance": 0.06462
}

Semantic roles & 50–950 ramp

primary
#273BAA
secondary
#C4B669
accent
#CD42E6
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #273BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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