#273198#273198

#273198 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.166 H 271.4°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#273198
RGBrgb(39, 49, 152)
HSLhsl(235, 59%, 37%)
HSVhsv(235, 74%, 60%)
CMYKcmyk(74.3%, 67.8%, 0%, 40.4%)
CIE-LABlab(26.43, 32.52, -57.34)
CIE-LCHlch(26.43, 65.92, 299.56°)
OKLaboklab(37.9% 0.004 -0.1658)
OKLCHoklch(37.9% 0.166 271.4)
XYZxyz(7.6006, 4.8942, 30.2438)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273198 #988E27
analogous
#276A98 #273198 #552798
triadic
#273198 #982731 #319827
tetradic
#273198 #98276A #988E27 #279855
square
#273198 #98276A #988E27 #279855
split-complementary
#273198 #985527 #6A9827
monochromatic
#0E1237 #1B2167 #273198 #3341C9 #636DD7

Accessibility & contrast

On white

10.61
#273198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#273198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273198
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273198#FFFFFF#000000##FFFFFF
##2731981.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #273198;
/* rgb */ color: rgb(39, 49, 152);
/* oklch */ color: oklch(37.9% 0.166 271.4);
Tailwind
colors: {
  custom: {
    50: '#7369b7',
    500: '#273198',
    950: '#000000',
  },
}
SCSS
$custom: #273198;
$custom-light: #7369b7;
$custom-dark: #000000;
JSON
{
  "hex": "#273198",
  "rgb": {
    "r": 39,
    "g": 49,
    "b": 152
  },
  "hsl": {
    "h": 234.69,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37898,
    "c": 0.16584,
    "h": 271.4
  },
  "luminance": 0.04895
}

Semantic roles & 50–950 ramp

primary
#273198
secondary
#BCB45E
accent
#D445E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #273198

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

Preview Lab → · Contrast checker → · Palette generator →

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