#273E94#273E94

#273E94 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.144 H 267.9°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#273E94
RGBrgb(39, 62, 148)
HSLhsl(227, 58%, 37%)
HSVhsv(227, 74%, 58%)
CMYKcmyk(73.6%, 58.1%, 0%, 42%)
CIE-LABlab(29.45, 22.34, -49.96)
CIE-LCHlch(29.45, 54.73, 294.09°)
OKLaboklab(40.02% -0.0053 -0.144)
OKLCHoklch(40.02% 0.144 267.9)
XYZxyz(7.9028, 6.0139, 28.7555)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273E94 #947D27
analogous
#277594 #273E94 #462794
triadic
#273E94 #94273E #3E9427
tetradic
#273E94 #942775 #947D27 #279446
square
#273E94 #942775 #947D27 #279446
split-complementary
#273E94 #944627 #759427
monochromatic
#0D1533 #1A2A64 #273E94 #3452C4 #6079D5

Accessibility & contrast

On white

9.53
#273E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#273E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273E94
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273E94#FFFFFF#000000##FFFFFF
##273E941.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B97
Deuteranopia (green-blind)
#004192
Tritanopia (blue-blind)
#005362
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #273e94;
/* rgb */ color: rgb(39, 62, 148);
/* oklch */ color: oklch(40.0% 0.144 267.9);
Tailwind
colors: {
  custom: {
    50: '#7172b4',
    500: '#273e94',
    950: '#000000',
  },
}
SCSS
$custom: #273e94;
$custom-light: #7172b4;
$custom-dark: #000000;
JSON
{
  "hex": "#273e94",
  "rgb": {
    "r": 39,
    "g": 62,
    "b": 148
  },
  "hsl": {
    "h": 227.339,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40019,
    "c": 0.14413,
    "h": 267.9
  },
  "luminance": 0.06015
}

Semantic roles & 50–950 ramp

primary
#273E94
secondary
#BBA75C
accent
#C146E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #273E94

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

Preview Lab → · Contrast checker → · Palette generator →

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