#273EB1#273EB1

#273EB1 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.6% C 0.184 H 268.3°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#273EB1
RGBrgb(39, 62, 177)
HSLhsl(230, 64%, 42%)
HSVhsv(230, 78%, 69%)
CMYKcmyk(78%, 65%, 0%, 30.6%)
CIE-LABlab(31.92, 33.30, -63.42)
CIE-LCHlch(31.92, 71.63, 297.70°)
OKLaboklab(42.62% -0.0054 -0.1835)
OKLCHoklch(42.62% 0.184 268.3)
XYZxyz(10.4924, 7.0497, 42.3942)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273EB1 #B19A27
analogous
#2783B1 #273EB1 #5527B1
triadic
#273EB1 #B1273E #3EB127
tetradic
#273EB1 #B12783 #B19A27 #27B155
square
#273EB1 #B12783 #B19A27 #27B155
split-complementary
#273EB1 #B15527 #83B127
monochromatic
#111B4D #1C2C7F #273EB1 #4059D5 #7285E0

Accessibility & contrast

On white

8.71
#273EB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#273EB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273EB1
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273EB1#FFFFFF#000000##FFFFFF
##273EB11.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0045AF
Tritanopia (blue-blind)
#005C72
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #273eb1;
/* rgb */ color: rgb(39, 62, 177);
/* oklch */ color: oklch(42.6% 0.184 268.3);
Tailwind
colors: {
  custom: {
    50: '#7873c9',
    500: '#273eb1',
    950: '#000000',
  },
}
SCSS
$custom: #273eb1;
$custom-light: #7873c9;
$custom-dark: #000000;
JSON
{
  "hex": "#273eb1",
  "rgb": {
    "r": 39,
    "g": 62,
    "b": 177
  },
  "hsl": {
    "h": 230,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42619,
    "c": 0.18359,
    "h": 268.3
  },
  "luminance": 0.07051
}

Semantic roles & 50–950 ramp

primary
#273EB1
secondary
#C7B86D
accent
#CB41E7
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #273EB1

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

Preview Lab → · Contrast checker → · Palette generator →

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