#273E9D#273E9D

#273E9D is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.8% C 0.157 H 268.1°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#273E9D
RGBrgb(39, 62, 157)
HSLhsl(228, 60%, 38%)
HSVhsv(228, 75%, 62%)
CMYKcmyk(75.2%, 60.5%, 0%, 38.4%)
CIE-LABlab(30.18, 25.78, -54.25)
CIE-LCHlch(30.18, 60.06, 295.42°)
OKLaboklab(40.8% -0.0051 -0.1566)
OKLCHoklch(40.8% 0.157 268.1)
XYZxyz(8.6430, 6.3100, 32.6542)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273E9D #9D8627
analogous
#27799D #273E9D #4B279D
triadic
#273E9D #9D273E #3E9D27
tetradic
#273E9D #9D2779 #9D8627 #279D4B
square
#273E9D #9D2779 #9D8627 #279D4B
split-complementary
#273E9D #9D4B27 #799D27
monochromatic
#0F173B #1B2B6C #273E9D #3552CD #667CD9

Accessibility & contrast

On white

9.28
#273E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#273E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273E9D
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273E9D#FFFFFF#000000##FFFFFF
##273E9D1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA0
Deuteranopia (green-blind)
#00429B
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #273e9d;
/* rgb */ color: rgb(39, 62, 157);
/* oklch */ color: oklch(40.8% 0.157 268.1);
Tailwind
colors: {
  custom: {
    50: '#7373bb',
    500: '#273e9d',
    950: '#000000',
  },
}
SCSS
$custom: #273e9d;
$custom-light: #7373bb;
$custom-dark: #000000;
JSON
{
  "hex": "#273e9d",
  "rgb": {
    "r": 39,
    "g": 62,
    "b": 157
  },
  "hsl": {
    "h": 228.305,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40797,
    "c": 0.15671,
    "h": 268.1
  },
  "luminance": 0.06311
}

Semantic roles & 50–950 ramp

primary
#273E9D
secondary
#BFAC61
accent
#C444E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #273E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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