#273F9A#273F9A

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

Color values

HEX#273F9A
RGBrgb(39, 63, 154)
HSLhsl(227, 60%, 38%)
HSVhsv(227, 75%, 60%)
CMYKcmyk(74.7%, 59.1%, 0%, 39.6%)
CIE-LABlab(30.20, 23.96, -52.39)
CIE-LCHlch(30.20, 57.61, 294.58°)
OKLaboklab(40.74% -0.0059 -0.1512)
OKLCHoklch(40.74% 0.151 267.8)
XYZxyz(8.4449, 6.3185, 31.3401)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273F9A #9A8227
analogous
#27789A #273F9A #48279A
triadic
#273F9A #9A273F #3F9A27
tetradic
#273F9A #9A2778 #9A8227 #279A48
square
#273F9A #9A2778 #9A8227 #279A48
split-complementary
#273F9A #9A4827 #789A27
monochromatic
#0E1738 #1B2B69 #273F9A #3353CB #647CD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##273F9A#FFFFFF#000000##FFFFFF
##273F9A1.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)
#004D9D
Deuteranopia (green-blind)
#004298
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #273f9a;
/* rgb */ color: rgb(39, 63, 154);
/* oklch */ color: oklch(40.7% 0.151 267.8);
Tailwind
colors: {
  custom: {
    50: '#7273b9',
    500: '#273f9a',
    950: '#000000',
  },
}
SCSS
$custom: #273f9a;
$custom-light: #7273b9;
$custom-dark: #000000;
JSON
{
  "hex": "#273f9a",
  "rgb": {
    "r": 39,
    "g": 63,
    "b": 154
  },
  "hsl": {
    "h": 227.478,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40735,
    "c": 0.15127,
    "h": 267.8
  },
  "luminance": 0.06319
}

Semantic roles & 50–950 ramp

primary
#273F9A
secondary
#BDAA5F
accent
#C245E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #273F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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