#273C94#273C94

#273C94 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.6% C 0.147 H 268.6°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#273C94
RGBrgb(39, 60, 148)
HSLhsl(228, 58%, 37%)
HSVhsv(228, 74%, 58%)
CMYKcmyk(73.6%, 59.5%, 0%, 42%)
CIE-LABlab(28.90, 23.70, -50.84)
CIE-LCHlch(28.90, 56.10, 294.99°)
OKLaboklab(39.61% -0.0037 -0.1467)
OKLCHoklch(39.61% 0.147 268.6)
XYZxyz(7.7960, 5.8004, 28.7200)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273C94 #947F27
analogous
#277394 #273C94 #482794
triadic
#273C94 #94273C #3C9427
tetradic
#273C94 #942773 #947F27 #279448
square
#273C94 #942773 #947F27 #279448
split-complementary
#273C94 #944827 #739427
monochromatic
#0D1533 #1A2864 #273C94 #3450C4 #6077D5

Accessibility & contrast

On white

9.72
#273C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#273C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273C94
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273C94#FFFFFF#000000##FFFFFF
##273C941.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004997
Deuteranopia (green-blind)
#003F92
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #273c94;
/* rgb */ color: rgb(39, 60, 148);
/* oklch */ color: oklch(39.6% 0.147 268.6);
Tailwind
colors: {
  custom: {
    50: '#7171b4',
    500: '#273c94',
    950: '#000000',
  },
}
SCSS
$custom: #273c94;
$custom-light: #7171b4;
$custom-dark: #000000;
JSON
{
  "hex": "#273c94",
  "rgb": {
    "r": 39,
    "g": 60,
    "b": 148
  },
  "hsl": {
    "h": 228.44,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39612,
    "c": 0.14671,
    "h": 268.6
  },
  "luminance": 0.05801
}

Semantic roles & 50–950 ramp

primary
#273C94
secondary
#BBA85C
accent
#C446E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #273C94

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

Preview Lab → · Contrast checker → · Palette generator →

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