#273A98#273A98

#273A98 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.155 H 269.2°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#273A98
RGBrgb(39, 58, 152)
HSLhsl(230, 59%, 37%)
HSVhsv(230, 74%, 60%)
CMYKcmyk(74.3%, 61.8%, 0%, 40.4%)
CIE-LABlab(28.70, 26.57, -53.62)
CIE-LCHlch(28.70, 59.84, 296.36°)
OKLaboklab(39.57% -0.0021 -0.1548)
OKLCHoklch(39.57% 0.155 269.2)
XYZxyz(8.0153, 5.7236, 30.3820)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273A98 #988527
analogous
#277298 #273A98 #4D2798
triadic
#273A98 #98273A #3A9827
tetradic
#273A98 #982772 #988527 #27984D
square
#273A98 #982772 #988527 #27984D
split-complementary
#273A98 #984D27 #729827
monochromatic
#0E1537 #1B2767 #273A98 #334DC9 #6376D7

Accessibility & contrast

On white

9.79
#273A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#273A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273A98
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273A98#FFFFFF#000000##FFFFFF
##273A981.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499B
Deuteranopia (green-blind)
#003F96
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #273a98;
/* rgb */ color: rgb(39, 58, 152);
/* oklch */ color: oklch(39.6% 0.155 269.2);
Tailwind
colors: {
  custom: {
    50: '#7270b7',
    500: '#273a98',
    950: '#000000',
  },
}
SCSS
$custom: #273a98;
$custom-light: #7270b7;
$custom-dark: #000000;
JSON
{
  "hex": "#273a98",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 152
  },
  "hsl": {
    "h": 229.912,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39568,
    "c": 0.15483,
    "h": 269.2
  },
  "luminance": 0.05724
}

Semantic roles & 50–950 ramp

primary
#273A98
secondary
#BCAD5E
accent
#C845E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #273A98

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

Preview Lab → · Contrast checker → · Palette generator →

#273A98 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva