#273F93#273F93

#273F93 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.1% C 0.141 H 267.5°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#273F93
RGBrgb(39, 63, 147)
HSLhsl(227, 58%, 36%)
HSVhsv(227, 73%, 58%)
CMYKcmyk(73.5%, 57.1%, 0%, 42.4%)
CIE-LABlab(29.64, 21.27, -49.03)
CIE-LCHlch(29.64, 53.44, 293.45°)
OKLaboklab(40.14% -0.0062 -0.1413)
OKLCHoklch(40.14% 0.141 267.5)
XYZxyz(7.8788, 6.0921, 28.3588)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273F93 #937B27
analogous
#277593 #273F93 #452793
triadic
#273F93 #93273F #3F9327
tetradic
#273F93 #932775 #937B27 #279345
square
#273F93 #932775 #937B27 #279345
split-complementary
#273F93 #934527 #759327
monochromatic
#0D1632 #1A2A63 #273F93 #3454C3 #607AD5

Accessibility & contrast

On white

9.47
#273F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#273F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273F93
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273F93#FFFFFF#000000##FFFFFF
##273F931.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B96
Deuteranopia (green-blind)
#004191
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #273f93;
/* rgb */ color: rgb(39, 63, 147);
/* oklch */ color: oklch(40.1% 0.141 267.5);
Tailwind
colors: {
  custom: {
    50: '#7173b3',
    500: '#273f93',
    950: '#000000',
  },
}
SCSS
$custom: #273f93;
$custom-light: #7173b3;
$custom-dark: #000000;
JSON
{
  "hex": "#273f93",
  "rgb": {
    "r": 39,
    "g": 63,
    "b": 147
  },
  "hsl": {
    "h": 226.667,
    "s": 58.065,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40141,
    "c": 0.1414,
    "h": 267.5
  },
  "luminance": 0.06093
}

Semantic roles & 50–950 ramp

primary
#273F93
secondary
#BAA55C
accent
#BF47E1
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #273F93

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

Preview Lab → · Contrast checker → · Palette generator →

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