#273DB1#273DB1

#273DB1 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.4% C 0.185 H 268.5°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#273DB1
RGBrgb(39, 61, 177)
HSLhsl(230, 64%, 42%)
HSVhsv(230, 78%, 69%)
CMYKcmyk(78%, 65.5%, 0%, 30.6%)
CIE-LABlab(31.67, 33.95, -63.82)
CIE-LCHlch(31.67, 72.29, 298.01°)
OKLaboklab(42.44% -0.0049 -0.1847)
OKLCHoklch(42.44% 0.185 268.5)
XYZxyz(10.4385, 6.9420, 42.3762)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273DB1 #B19B27
analogous
#2782B1 #273DB1 #5627B1
triadic
#273DB1 #B1273D #3DB127
tetradic
#273DB1 #B12782 #B19B27 #27B156
square
#273DB1 #B12782 #B19B27 #27B156
split-complementary
#273DB1 #B15627 #82B127
monochromatic
#111A4D #1C2C7F #273DB1 #4058D5 #7284E0

Accessibility & contrast

On white

8.79
#273DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273DB1
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273DB1#FFFFFF#000000##FFFFFF
##273DB11.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#0044AF
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #273db1;
/* rgb */ color: rgb(39, 61, 177);
/* oklch */ color: oklch(42.4% 0.185 268.5);
Tailwind
colors: {
  custom: {
    50: '#7872c9',
    500: '#273db1',
    950: '#000000',
  },
}
SCSS
$custom: #273db1;
$custom-light: #7872c9;
$custom-dark: #000000;
JSON
{
  "hex": "#273db1",
  "rgb": {
    "r": 39,
    "g": 61,
    "b": 177
  },
  "hsl": {
    "h": 230.435,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42439,
    "c": 0.18476,
    "h": 268.5
  },
  "luminance": 0.06943
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #273DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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