#273C97#273C97

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

Color values

HEX#273C97
RGBrgb(39, 60, 151)
HSLhsl(229, 59%, 37%)
HSVhsv(229, 74%, 59%)
CMYKcmyk(74.2%, 60.3%, 0%, 40.8%)
CIE-LABlab(29.15, 24.84, -52.28)
CIE-LCHlch(29.15, 57.88, 295.42°)
OKLaboklab(39.87% -0.0036 -0.1509)
OKLCHoklch(39.87% 0.151 268.6)
XYZxyz(8.0365, 5.8966, 29.9868)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273C97 #978227
analogous
#277497 #273C97 #4A2797
triadic
#273C97 #97273C #3C9727
tetradic
#273C97 #972774 #978227 #27974A
square
#273C97 #972774 #978227 #27974A
split-complementary
#273C97 #974A27 #749727
monochromatic
#0E1536 #1A2966 #273C97 #344FC8 #6278D6

Accessibility & contrast

On white

9.64
#273C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#273C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273C97
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273C97#FFFFFF#000000##FFFFFF
##273C971.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #273c97;
/* rgb */ color: rgb(39, 60, 151);
/* oklch */ color: oklch(39.9% 0.151 268.6);
Tailwind
colors: {
  custom: {
    50: '#7271b6',
    500: '#273c97',
    950: '#000000',
  },
}
SCSS
$custom: #273c97;
$custom-light: #7271b6;
$custom-dark: #000000;
JSON
{
  "hex": "#273c97",
  "rgb": {
    "r": 39,
    "g": 60,
    "b": 151
  },
  "hsl": {
    "h": 228.75,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39873,
    "c": 0.15091,
    "h": 268.6
  },
  "luminance": 0.05897
}

Semantic roles & 50–950 ramp

primary
#273C97
secondary
#BCAA5E
accent
#C546E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #273C97

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

Preview Lab → · Contrast checker → · Palette generator →

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