#273CB1#273CB1

#273CB1 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.3% C 0.186 H 268.7°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#273CB1
RGBrgb(39, 60, 177)
HSLhsl(231, 64%, 42%)
HSVhsv(231, 78%, 69%)
CMYKcmyk(78%, 66.1%, 0%, 30.6%)
CIE-LABlab(31.43, 34.59, -64.22)
CIE-LCHlch(31.43, 72.95, 298.31°)
OKLaboklab(42.26% -0.0043 -0.1859)
OKLCHoklch(42.26% 0.186 268.7)
XYZxyz(10.3856, 6.8362, 42.3586)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273CB1 #B19C27
analogous
#2781B1 #273CB1 #5727B1
triadic
#273CB1 #B1273C #3CB127
tetradic
#273CB1 #B12781 #B19C27 #27B157
square
#273CB1 #B12781 #B19C27 #27B157
split-complementary
#273CB1 #B15727 #81B127
monochromatic
#111A4D #1C2B7F #273CB1 #4057D5 #7283E0

Accessibility & contrast

On white

8.87
#273CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#273CB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273CB1
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273CB1#FFFFFF#000000##FFFFFF
##273CB11.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#0043AF
Tritanopia (blue-blind)
#005B71
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #273cb1;
/* rgb */ color: rgb(39, 60, 177);
/* oklch */ color: oklch(42.3% 0.186 268.7);
Tailwind
colors: {
  custom: {
    50: '#7871c9',
    500: '#273cb1',
    950: '#000000',
  },
}
SCSS
$custom: #273cb1;
$custom-light: #7871c9;
$custom-dark: #000000;
JSON
{
  "hex": "#273cb1",
  "rgb": {
    "r": 39,
    "g": 60,
    "b": 177
  },
  "hsl": {
    "h": 230.87,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42261,
    "c": 0.18592,
    "h": 268.7
  },
  "luminance": 0.06837
}

Semantic roles & 50–950 ramp

primary
#273CB1
secondary
#C7B96D
accent
#CE41E7
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #273CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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