#273E95#273E95

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

Color values

HEX#273E95
RGBrgb(39, 62, 149)
HSLhsl(227, 59%, 37%)
HSVhsv(227, 74%, 58%)
CMYKcmyk(73.8%, 58.4%, 0%, 41.6%)
CIE-LABlab(29.53, 22.72, -50.44)
CIE-LCHlch(29.53, 55.32, 294.25°)
OKLaboklab(40.1% -0.0053 -0.1454)
OKLCHoklch(40.1% 0.146 267.9)
XYZxyz(7.9823, 6.0457, 29.1742)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273E95 #957E27
analogous
#277595 #273E95 #472795
triadic
#273E95 #95273E #3E9527
tetradic
#273E95 #952775 #957E27 #279547
square
#273E95 #952775 #957E27 #279547
split-complementary
#273E95 #954727 #759527
monochromatic
#0E1634 #1A2A64 #273E95 #3452C6 #6179D6

Accessibility & contrast

On white

9.50
#273E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273E95
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273E95#FFFFFF#000000##FFFFFF
##273E951.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#004193
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #273e95;
/* rgb */ color: rgb(39, 62, 149);
/* oklch */ color: oklch(40.1% 0.146 267.9);
Tailwind
colors: {
  custom: {
    50: '#7172b5',
    500: '#273e95',
    950: '#000000',
  },
}
SCSS
$custom: #273e95;
$custom-light: #7172b5;
$custom-dark: #000000;
JSON
{
  "hex": "#273e95",
  "rgb": {
    "r": 39,
    "g": 62,
    "b": 149
  },
  "hsl": {
    "h": 227.455,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40104,
    "c": 0.14554,
    "h": 267.9
  },
  "luminance": 0.06047
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #273E95

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

Preview Lab → · Contrast checker → · Palette generator →

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