#273F9E#273F9E

#273F9E is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.157 H 267.9°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#273F9E
RGBrgb(39, 63, 158)
HSLhsl(228, 60%, 39%)
HSVhsv(228, 75%, 62%)
CMYKcmyk(75.3%, 60.1%, 0%, 38%)
CIE-LABlab(30.53, 25.49, -54.29)
CIE-LCHlch(30.53, 59.98, 295.16°)
OKLaboklab(41.08% -0.0058 -0.1567)
OKLCHoklch(41.08% 0.157 267.9)
XYZxyz(8.7836, 6.4540, 33.1240)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273F9E #9E8627
analogous
#277A9E #273F9E #4A279E
triadic
#273F9E #9E273F #3F9E27
tetradic
#273F9E #9E277A #9E8627 #279E4A
square
#273F9E #9E277A #9E8627 #279E4A
split-complementary
#273F9E #9E4A27 #7A9E27
monochromatic
#0F183C #1B2B6D #273F9E #3554CD #667DD9

Accessibility & contrast

On white

9.17
#273F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#273F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273F9E
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273F9E#FFFFFF#000000##FFFFFF
##273F9E1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#00439C
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #273f9e;
/* rgb */ color: rgb(39, 63, 158);
/* oklch */ color: oklch(41.1% 0.157 267.9);
Tailwind
colors: {
  custom: {
    50: '#7373bb',
    500: '#273f9e',
    950: '#000000',
  },
}
SCSS
$custom: #273f9e;
$custom-light: #7373bb;
$custom-dark: #000000;
JSON
{
  "hex": "#273f9e",
  "rgb": {
    "r": 39,
    "g": 63,
    "b": 158
  },
  "hsl": {
    "h": 227.899,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41083,
    "c": 0.15683,
    "h": 267.9
  },
  "luminance": 0.06455
}

Semantic roles & 50–950 ramp

primary
#273F9E
secondary
#BFAC62
accent
#C344E4
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #273F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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