#273B98#273B98

#273B98 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.8% C 0.154 H 268.9°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#273B98
RGBrgb(39, 59, 152)
HSLhsl(229, 59%, 37%)
HSVhsv(229, 74%, 60%)
CMYKcmyk(74.3%, 61.2%, 0%, 40.4%)
CIE-LABlab(28.97, 25.90, -53.19)
CIE-LCHlch(28.97, 59.16, 295.96°)
OKLaboklab(39.76% -0.0029 -0.1535)
OKLCHoklch(39.76% 0.154 268.9)
XYZxyz(8.0662, 5.8254, 30.3990)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273B98 #988427
analogous
#277398 #273B98 #4C2798
triadic
#273B98 #98273B #3B9827
tetradic
#273B98 #982773 #988427 #27984C
square
#273B98 #982773 #988427 #27984C
split-complementary
#273B98 #984C27 #739827
monochromatic
#0E1537 #1B2867 #273B98 #334EC9 #6377D7

Accessibility & contrast

On white

9.70
#273B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#273B98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273B98
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273B98#FFFFFF#000000##FFFFFF
##273B981.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9B
Deuteranopia (green-blind)
#003F96
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #273b98;
/* rgb */ color: rgb(39, 59, 152);
/* oklch */ color: oklch(39.8% 0.154 268.9);
Tailwind
colors: {
  custom: {
    50: '#7270b7',
    500: '#273b98',
    950: '#000000',
  },
}
SCSS
$custom: #273b98;
$custom-light: #7270b7;
$custom-dark: #000000;
JSON
{
  "hex": "#273b98",
  "rgb": {
    "r": 39,
    "g": 59,
    "b": 152
  },
  "hsl": {
    "h": 229.381,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39764,
    "c": 0.15357,
    "h": 268.9
  },
  "luminance": 0.05826
}

Semantic roles & 50–950 ramp

primary
#273B98
secondary
#BCAC5E
accent
#C745E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #273B98

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

Preview Lab → · Contrast checker → · Palette generator →

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