#273FB1#273FB1

#273FB1 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.8% C 0.182 H 268.1°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#273FB1
RGBrgb(39, 63, 177)
HSLhsl(230, 64%, 42%)
HSVhsv(230, 78%, 69%)
CMYKcmyk(78%, 64.4%, 0%, 30.6%)
CIE-LABlab(32.17, 32.66, -63.02)
CIE-LCHlch(32.17, 70.97, 297.39°)
OKLaboklab(42.8% -0.006 -0.1823)
OKLCHoklch(42.8% 0.182 268.1)
XYZxyz(10.5473, 7.1595, 42.4125)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273FB1 #B19927
analogous
#2784B1 #273FB1 #5427B1
triadic
#273FB1 #B1273F #3FB127
tetradic
#273FB1 #B12784 #B19927 #27B154
square
#273FB1 #B12784 #B19927 #27B154
split-complementary
#273FB1 #B15427 #84B127
monochromatic
#111B4D #1C2D7F #273FB1 #405AD5 #7285E0

Accessibility & contrast

On white

8.63
#273FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#273FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273FB1
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273FB1#FFFFFF#000000##FFFFFF
##273FB11.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #273fb1;
/* rgb */ color: rgb(39, 63, 177);
/* oklch */ color: oklch(42.8% 0.182 268.1);
Tailwind
colors: {
  custom: {
    50: '#7874c9',
    500: '#273fb1',
    950: '#000000',
  },
}
SCSS
$custom: #273fb1;
$custom-light: #7874c9;
$custom-dark: #000000;
JSON
{
  "hex": "#273fb1",
  "rgb": {
    "r": 39,
    "g": 63,
    "b": 177
  },
  "hsl": {
    "h": 229.565,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42801,
    "c": 0.18242,
    "h": 268.1
  },
  "luminance": 0.07161
}

Semantic roles & 50–950 ramp

primary
#273FB1
secondary
#C7B76D
accent
#CA41E7
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #273FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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