#273FAA#273FAA

#273FAA is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.2% C 0.173 H 268.1°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#273FAA
RGBrgb(39, 63, 170)
HSLhsl(229, 63%, 41%)
HSVhsv(229, 77%, 67%)
CMYKcmyk(77.1%, 62.9%, 0%, 33.3%)
CIE-LABlab(31.55, 30.04, -59.85)
CIE-LCHlch(31.55, 66.97, 296.65°)
OKLaboklab(42.16% -0.0058 -0.173)
OKLCHoklch(42.16% 0.173 268.1)
XYZxyz(9.8674, 6.8875, 38.8318)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273FAA #AA9227
analogous
#2780AA #273FAA #5127AA
triadic
#273FAA #AA273F #3FAA27
tetradic
#273FAA #AA2780 #AA9227 #27AA51
square
#273FAA #AA2780 #AA9227 #27AA51
split-complementary
#273FAA #AA5127 #80AA27
monochromatic
#101A46 #1C2D78 #273FAA #3C57D2 #6E82DE

Accessibility & contrast

On white

8.83
#273FAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#273FAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273FAA
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273FAA#FFFFFF#000000##FFFFFF
##273FAA1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AD
Deuteranopia (green-blind)
#0044A8
Tritanopia (blue-blind)
#005B6E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #273faa;
/* rgb */ color: rgb(39, 63, 170);
/* oklch */ color: oklch(42.2% 0.173 268.1);
Tailwind
colors: {
  custom: {
    50: '#7673c4',
    500: '#273faa',
    950: '#000000',
  },
}
SCSS
$custom: #273faa;
$custom-light: #7673c4;
$custom-dark: #000000;
JSON
{
  "hex": "#273faa",
  "rgb": {
    "r": 39,
    "g": 63,
    "b": 170
  },
  "hsl": {
    "h": 229.008,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42156,
    "c": 0.17314,
    "h": 268.1
  },
  "luminance": 0.06889
}

Semantic roles & 50–950 ramp

primary
#273FAA
secondary
#C4B369
accent
#C842E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #273FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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