#273E9F#273E9F

#273E9F is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.0% C 0.159 H 268.2°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#273E9F
RGBrgb(39, 62, 159)
HSLhsl(229, 61%, 39%)
HSVhsv(229, 75%, 62%)
CMYKcmyk(75.5%, 61%, 0%, 37.6%)
CIE-LABlab(30.35, 26.55, -55.19)
CIE-LCHlch(30.35, 61.24, 295.69°)
OKLaboklab(40.97% -0.005 -0.1594)
OKLCHoklch(40.97% 0.159 268.2)
XYZxyz(8.8152, 6.3788, 33.5608)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273E9F #9F8827
analogous
#277A9F #273E9F #4C279F
triadic
#273E9F #9F273E #3E9F27
tetradic
#273E9F #9F277A #9F8827 #279F4C
square
#273E9F #9F277A #9F8827 #279F4C
split-complementary
#273E9F #9F4C27 #7A9F27
monochromatic
#0F183D #1B2B6E #273E9F #3653CE #677DDA

Accessibility & contrast

On white

9.23
#273E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#273E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273E9F
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273E9F#FFFFFF#000000##FFFFFF
##273E9F1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #273e9f;
/* rgb */ color: rgb(39, 62, 159);
/* oklch */ color: oklch(41.0% 0.159 268.2);
Tailwind
colors: {
  custom: {
    50: '#7373bc',
    500: '#273e9f',
    950: '#000000',
  },
}
SCSS
$custom: #273e9f;
$custom-light: #7373bc;
$custom-dark: #000000;
JSON
{
  "hex": "#273e9f",
  "rgb": {
    "r": 39,
    "g": 62,
    "b": 159
  },
  "hsl": {
    "h": 228.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.40974,
    "c": 0.15946,
    "h": 268.2
  },
  "luminance": 0.0638
}

Semantic roles & 50–950 ramp

primary
#273E9F
secondary
#C0AE62
accent
#C544E4
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #273E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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