#273FAB#273FAB

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

Color values

HEX#273FAB
RGBrgb(39, 63, 171)
HSLhsl(229, 63%, 41%)
HSVhsv(229, 77%, 67%)
CMYKcmyk(77.2%, 63.2%, 0%, 32.9%)
CIE-LABlab(31.64, 30.42, -60.31)
CIE-LCHlch(31.64, 67.54, 296.76°)
OKLaboklab(42.25% -0.0058 -0.1744)
OKLCHoklch(42.25% 0.174 268.1)
XYZxyz(9.9623, 6.9255, 39.3319)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273FAB #AB9327
analogous
#2781AB #273FAB #5127AB
triadic
#273FAB #AB273F #3FAB27
tetradic
#273FAB #AB2781 #AB9327 #27AB51
square
#273FAB #AB2781 #AB9327 #27AB51
split-complementary
#273FAB #AB5127 #81AB27
monochromatic
#101A47 #1C2D79 #273FAB #3D58D3 #6E83DE

Accessibility & contrast

On white

8.80
#273FAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#273FAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273FAB
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273FAB#FFFFFF#000000##FFFFFF
##273FAB1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AE
Deuteranopia (green-blind)
#0044A9
Tritanopia (blue-blind)
#005B6F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #273fab;
/* rgb */ color: rgb(39, 63, 171);
/* oklch */ color: oklch(42.2% 0.174 268.1);
Tailwind
colors: {
  custom: {
    50: '#7673c5',
    500: '#273fab',
    950: '#000000',
  },
}
SCSS
$custom: #273fab;
$custom-light: #7673c5;
$custom-dark: #000000;
JSON
{
  "hex": "#273fab",
  "rgb": {
    "r": 39,
    "g": 63,
    "b": 171
  },
  "hsl": {
    "h": 229.091,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42247,
    "c": 0.17448,
    "h": 268.1
  },
  "luminance": 0.06927
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #273FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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