#273FA5#273FA5

#273FA5 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.7% C 0.166 H 268.0°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#273FA5
RGBrgb(39, 63, 165)
HSLhsl(229, 62%, 40%)
HSVhsv(229, 76%, 65%)
CMYKcmyk(76.4%, 61.8%, 0%, 35.3%)
CIE-LABlab(31.12, 28.16, -57.55)
CIE-LCHlch(31.12, 64.07, 296.07°)
OKLaboklab(41.7% -0.0057 -0.1663)
OKLCHoklch(41.7% 0.166 268)
XYZxyz(9.4034, 6.7019, 36.3880)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273FA5 #A58D27
analogous
#277EA5 #273FA5 #4E27A5
triadic
#273FA5 #A5273F #3FA527
tetradic
#273FA5 #A5277E #A58D27 #27A54E
square
#273FA5 #A5277E #A58D27 #27A54E
split-complementary
#273FA5 #A54E27 #7EA527
monochromatic
#101942 #1B2C74 #273FA5 #3956D0 #6A80DC

Accessibility & contrast

On white

8.97
#273FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#273FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273FA5
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273FA5#FFFFFF#000000##FFFFFF
##273FA51.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#0043A3
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #273fa5;
/* rgb */ color: rgb(39, 63, 165);
/* oklch */ color: oklch(41.7% 0.166 268.0);
Tailwind
colors: {
  custom: {
    50: '#7573c1',
    500: '#273fa5',
    950: '#000000',
  },
}
SCSS
$custom: #273fa5;
$custom-light: #7573c1;
$custom-dark: #000000;
JSON
{
  "hex": "#273fa5",
  "rgb": {
    "r": 39,
    "g": 63,
    "b": 165
  },
  "hsl": {
    "h": 228.571,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.41703,
    "c": 0.16641,
    "h": 268
  },
  "luminance": 0.06703
}

Semantic roles & 50–950 ramp

primary
#273FA5
secondary
#C2B166
accent
#C643E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #273FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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