#273298#273298

#273298 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.1% C 0.165 H 271.2°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#273298
RGBrgb(39, 50, 152)
HSLhsl(234, 59%, 37%)
HSVhsv(234, 74%, 60%)
CMYKcmyk(74.3%, 67.1%, 0%, 40.4%)
CIE-LABlab(26.67, 31.87, -56.94)
CIE-LCHlch(26.67, 65.25, 299.24°)
OKLaboklab(38.07% 0.0034 -0.1646)
OKLCHoklch(38.07% 0.165 271.2)
XYZxyz(7.6429, 4.9787, 30.2579)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273298 #988D27
analogous
#276B98 #273298 #542798
triadic
#273298 #982732 #329827
tetradic
#273298 #98276B #988D27 #279854
square
#273298 #98276B #988D27 #279854
split-complementary
#273298 #985427 #6B9827
monochromatic
#0E1237 #1B2267 #273298 #3342C9 #636ED7

Accessibility & contrast

On white

10.52
#273298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#273298 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273298
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273298#FFFFFF#000000##FFFFFF
##2732981.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449B
Deuteranopia (green-blind)
#003A96
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #273298;
/* rgb */ color: rgb(39, 50, 152);
/* oklch */ color: oklch(38.1% 0.165 271.2);
Tailwind
colors: {
  custom: {
    50: '#736ab7',
    500: '#273298',
    950: '#000000',
  },
}
SCSS
$custom: #273298;
$custom-light: #736ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#273298",
  "rgb": {
    "r": 39,
    "g": 50,
    "b": 152
  },
  "hsl": {
    "h": 234.159,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38075,
    "c": 0.16465,
    "h": 271.2
  },
  "luminance": 0.0498
}

Semantic roles & 50–950 ramp

primary
#273298
secondary
#BCB35E
accent
#D345E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #273298

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

Preview Lab → · Contrast checker → · Palette generator →

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