#273D91#273D91

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

Color values

HEX#273D91
RGBrgb(39, 61, 145)
HSLhsl(228, 58%, 36%)
HSVhsv(228, 73%, 57%)
CMYKcmyk(73.1%, 57.9%, 0%, 43.1%)
CIE-LABlab(28.93, 21.86, -48.95)
CIE-LCHlch(28.93, 53.61, 294.07°)
OKLaboklab(39.56% -0.0046 -0.1411)
OKLCHoklch(39.56% 0.141 268.1)
XYZxyz(7.6145, 5.8124, 27.5032)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273D91 #917B27
analogous
#277291 #273D91 #462791
triadic
#273D91 #91273D #3D9127
tetradic
#273D91 #912772 #917B27 #279146
square
#273D91 #912772 #917B27 #279146
split-complementary
#273D91 #914627 #729127
monochromatic
#0D1431 #1A2961 #273D91 #3451C1 #5F77D4

Accessibility & contrast

On white

9.71
#273D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273D91
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273D91#FFFFFF#000000##FFFFFF
##273D911.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#00408F
Tritanopia (blue-blind)
#005261
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #273d91;
/* rgb */ color: rgb(39, 61, 145);
/* oklch */ color: oklch(39.6% 0.141 268.1);
Tailwind
colors: {
  custom: {
    50: '#7072b2',
    500: '#273d91',
    950: '#000000',
  },
}
SCSS
$custom: #273d91;
$custom-light: #7072b2;
$custom-dark: #000000;
JSON
{
  "hex": "#273d91",
  "rgb": {
    "r": 39,
    "g": 61,
    "b": 145
  },
  "hsl": {
    "h": 227.547,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39559,
    "c": 0.14117,
    "h": 268.1
  },
  "luminance": 0.05813
}

Semantic roles & 50–950 ramp

primary
#273D91
secondary
#B9A65B
accent
#C147E1
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #273D91

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

Preview Lab → · Contrast checker → · Palette generator →

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