#273098#273098

#273098 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.167 H 271.6°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#273098
RGBrgb(39, 48, 152)
HSLhsl(235, 59%, 37%)
HSVhsv(235, 74%, 60%)
CMYKcmyk(74.3%, 68.4%, 0%, 40.4%)
CIE-LABlab(26.19, 33.16, -57.73)
CIE-LCHlch(26.19, 66.58, 299.88°)
OKLaboklab(37.72% 0.0046 -0.1669)
OKLCHoklch(37.72% 0.167 271.6)
XYZxyz(7.5592, 4.8115, 30.2300)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273098 #988F27
analogous
#276998 #273098 #562798
triadic
#273098 #982730 #309827
tetradic
#273098 #982769 #988F27 #279856
square
#273098 #982769 #988F27 #279856
split-complementary
#273098 #985627 #699827
monochromatic
#0E1137 #1B2167 #273098 #333FC9 #636CD7

Accessibility & contrast

On white

10.70
#273098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#273098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273098
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273098#FFFFFF#000000##FFFFFF
##2730981.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439B
Deuteranopia (green-blind)
#003996
Tritanopia (blue-blind)
#004C60
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #273098;
/* rgb */ color: rgb(39, 48, 152);
/* oklch */ color: oklch(37.7% 0.167 271.6);
Tailwind
colors: {
  custom: {
    50: '#7368b7',
    500: '#273098',
    950: '#000000',
  },
}
SCSS
$custom: #273098;
$custom-light: #7368b7;
$custom-dark: #000000;
JSON
{
  "hex": "#273098",
  "rgb": {
    "r": 39,
    "g": 48,
    "b": 152
  },
  "hsl": {
    "h": 235.221,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37723,
    "c": 0.16701,
    "h": 271.6
  },
  "luminance": 0.04812
}

Semantic roles & 50–950 ramp

primary
#273098
secondary
#BCB55E
accent
#D645E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #273098

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

Preview Lab → · Contrast checker → · Palette generator →

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