#273380#273380

#273380 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.1% C 0.130 H 271.5°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#273380
RGBrgb(39, 51, 128)
HSLhsl(232, 53%, 33%)
HSVhsv(232, 70%, 50%)
CMYKcmyk(69.5%, 60.2%, 0%, 49.8%)
CIE-LABlab(24.82, 22.21, -45.08)
CIE-LCHlch(24.82, 50.25, 296.23°)
OKLaboklab(36.05% 0.0035 -0.1298)
OKLCHoklch(36.05% 0.13 271.5)
XYZxyz(5.9155, 4.3570, 20.9471)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273380 #807427
analogous
#275F80 #273380 #472780
triadic
#273380 #802733 #338027
tetradic
#273380 #80275F #807427 #278047
square
#273380 #80275F #807427 #278047
split-complementary
#273380 #804727 #5F8027
monochromatic
#0A0E22 #192051 #273380 #3546AF #5666CB

Accessibility & contrast

On white

11.22
#273380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#273380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273380
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273380#FFFFFF#000000##FFFFFF
##2733801.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F83
Deuteranopia (green-blind)
#00377E
Tritanopia (blue-blind)
#004654
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #273380;
/* rgb */ color: rgb(39, 51, 128);
/* oklch */ color: oklch(36.1% 0.130 271.5);
Tailwind
colors: {
  custom: {
    50: '#6d6aa5',
    500: '#273380',
    950: '#000000',
  },
}
SCSS
$custom: #273380;
$custom-light: #6d6aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#273380",
  "rgb": {
    "r": 39,
    "g": 51,
    "b": 128
  },
  "hsl": {
    "h": 231.91,
    "s": 53.293,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36052,
    "c": 0.12988,
    "h": 271.5
  },
  "luminance": 0.04358
}

Semantic roles & 50–950 ramp

primary
#273380
secondary
#B0A453
accent
#C94BDD
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #273380

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

Preview Lab → · Contrast checker → · Palette generator →

#273380 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva