#273495#273495

#273495 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.158 H 270.8°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#273495
RGBrgb(39, 52, 149)
HSLhsl(233, 59%, 37%)
HSVhsv(233, 74%, 58%)
CMYKcmyk(73.8%, 65.1%, 0%, 41.6%)
CIE-LABlab(26.90, 29.45, -54.74)
CIE-LCHlch(26.90, 62.16, 298.28°)
OKLaboklab(38.15% 0.0022 -0.1582)
OKLCHoklch(38.15% 0.158 270.8)
XYZxyz(7.4877, 5.0565, 29.0093)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273495 #958827
analogous
#276B95 #273495 #512795
triadic
#273495 #952734 #349527
tetradic
#273495 #95276B #958827 #279551
square
#273495 #95276B #958827 #279551
split-complementary
#273495 #955127 #6B9527
monochromatic
#0E1234 #1A2364 #273495 #3445C6 #616FD6

Accessibility & contrast

On white

10.44
#273495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#273495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273495
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273495#FFFFFF#000000##FFFFFF
##2734951.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004598
Deuteranopia (green-blind)
#003B93
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #273495;
/* rgb */ color: rgb(39, 52, 149);
/* oklch */ color: oklch(38.2% 0.158 270.8);
Tailwind
colors: {
  custom: {
    50: '#726bb5',
    500: '#273495',
    950: '#000000',
  },
}
SCSS
$custom: #273495;
$custom-light: #726bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#273495",
  "rgb": {
    "r": 39,
    "g": 52,
    "b": 149
  },
  "hsl": {
    "h": 232.909,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38152,
    "c": 0.15818,
    "h": 270.8
  },
  "luminance": 0.05057
}

Semantic roles & 50–950 ramp

primary
#273495
secondary
#BBB05D
accent
#CF46E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #273495

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

Preview Lab → · Contrast checker → · Palette generator →

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