#273C98#273C98

#273C98 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.0% C 0.152 H 268.6°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#273C98
RGBrgb(39, 60, 152)
HSLhsl(229, 59%, 37%)
HSVhsv(229, 74%, 60%)
CMYKcmyk(74.3%, 60.5%, 0%, 40.4%)
CIE-LABlab(29.23, 25.23, -52.75)
CIE-LCHlch(29.23, 58.47, 295.56°)
OKLaboklab(39.96% -0.0036 -0.1523)
OKLCHoklch(39.96% 0.152 268.6)
XYZxyz(8.1181, 5.9292, 30.4163)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273C98 #988327
analogous
#277498 #273C98 #4B2798
triadic
#273C98 #98273C #3C9827
tetradic
#273C98 #982774 #988327 #27984B
square
#273C98 #982774 #988327 #27984B
split-complementary
#273C98 #984B27 #749827
monochromatic
#0E1637 #1B2967 #273C98 #334FC9 #6378D7

Accessibility & contrast

On white

9.61
#273C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#273C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273C98
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273C98#FFFFFF#000000##FFFFFF
##273C981.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9B
Deuteranopia (green-blind)
#004096
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #273c98;
/* rgb */ color: rgb(39, 60, 152);
/* oklch */ color: oklch(40.0% 0.152 268.6);
Tailwind
colors: {
  custom: {
    50: '#7271b7',
    500: '#273c98',
    950: '#000000',
  },
}
SCSS
$custom: #273c98;
$custom-light: #7271b7;
$custom-dark: #000000;
JSON
{
  "hex": "#273c98",
  "rgb": {
    "r": 39,
    "g": 60,
    "b": 152
  },
  "hsl": {
    "h": 228.85,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39961,
    "c": 0.1523,
    "h": 268.6
  },
  "luminance": 0.0593
}

Semantic roles & 50–950 ramp

primary
#273C98
secondary
#BCAB5E
accent
#C545E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #273C98

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

Preview Lab → · Contrast checker → · Palette generator →

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