#273F91#273F91

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

Color values

HEX#273F91
RGBrgb(39, 63, 145)
HSLhsl(226, 58%, 36%)
HSVhsv(226, 73%, 57%)
CMYKcmyk(73.1%, 56.6%, 0%, 43.1%)
CIE-LABlab(29.49, 20.50, -48.05)
CIE-LCHlch(29.49, 52.24, 293.10°)
OKLaboklab(39.98% -0.0063 -0.1384)
OKLCHoklch(39.98% 0.139 267.4)
XYZxyz(7.7233, 6.0299, 27.5394)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273F91 #917927
analogous
#277491 #273F91 #442791
triadic
#273F91 #91273F #3F9127
tetradic
#273F91 #912774 #917927 #279144
square
#273F91 #912774 #917927 #279144
split-complementary
#273F91 #914427 #749127
monochromatic
#0D1531 #1A2A61 #273F91 #3454C1 #5F79D4

Accessibility & contrast

On white

9.52
#273F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#273F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273F91
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273F91#FFFFFF#000000##FFFFFF
##273F911.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B94
Deuteranopia (green-blind)
#00418F
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #273f91;
/* rgb */ color: rgb(39, 63, 145);
/* oklch */ color: oklch(40.0% 0.139 267.4);
Tailwind
colors: {
  custom: {
    50: '#7073b2',
    500: '#273f91',
    950: '#000000',
  },
}
SCSS
$custom: #273f91;
$custom-light: #7073b2;
$custom-dark: #000000;
JSON
{
  "hex": "#273f91",
  "rgb": {
    "r": 39,
    "g": 63,
    "b": 145
  },
  "hsl": {
    "h": 226.415,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39975,
    "c": 0.13855,
    "h": 267.4
  },
  "luminance": 0.06031
}

Semantic roles & 50–950 ramp

primary
#273F91
secondary
#B9A45B
accent
#BE47E1
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #273F91

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

Preview Lab → · Contrast checker → · Palette generator →

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