#273E9B#273E9B

#273E9B is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.6% C 0.154 H 268.1°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#273E9B
RGBrgb(39, 62, 155)
HSLhsl(228, 60%, 38%)
HSVhsv(228, 75%, 61%)
CMYKcmyk(74.8%, 60%, 0%, 39.2%)
CIE-LABlab(30.02, 25.02, -53.30)
CIE-LCHlch(30.02, 58.89, 295.15°)
OKLaboklab(40.62% -0.0051 -0.1538)
OKLCHoklch(40.62% 0.154 268.1)
XYZxyz(8.4737, 6.2422, 31.7623)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273E9B #9B8427
analogous
#27789B #273E9B #4A279B
triadic
#273E9B #9B273E #3E9B27
tetradic
#273E9B #9B2778 #9B8427 #279B4A
square
#273E9B #9B2778 #9B8427 #279B4A
split-complementary
#273E9B #9B4A27 #789B27
monochromatic
#0E1739 #1B2A6A #273E9B #3352CC #647BD8

Accessibility & contrast

On white

9.34
#273E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#273E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273E9B
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273E9B#FFFFFF#000000##FFFFFF
##273E9B1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9E
Deuteranopia (green-blind)
#004199
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #273e9b;
/* rgb */ color: rgb(39, 62, 155);
/* oklch */ color: oklch(40.6% 0.154 268.1);
Tailwind
colors: {
  custom: {
    50: '#7273b9',
    500: '#273e9b',
    950: '#000000',
  },
}
SCSS
$custom: #273e9b;
$custom-light: #7273b9;
$custom-dark: #000000;
JSON
{
  "hex": "#273e9b",
  "rgb": {
    "r": 39,
    "g": 62,
    "b": 155
  },
  "hsl": {
    "h": 228.103,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40622,
    "c": 0.15393,
    "h": 268.1
  },
  "luminance": 0.06243
}

Semantic roles & 50–950 ramp

primary
#273E9B
secondary
#BEAB60
accent
#C445E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #273E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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