#273DA1#273DA1

#273DA1 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.0% C 0.163 H 268.5°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#273DA1
RGBrgb(39, 61, 161)
HSLhsl(229, 61%, 39%)
HSVhsv(229, 76%, 63%)
CMYKcmyk(75.8%, 62.1%, 0%, 36.9%)
CIE-LABlab(30.26, 27.97, -56.55)
CIE-LCHlch(30.26, 63.09, 296.32°)
OKLaboklab(40.96% -0.0044 -0.1634)
OKLCHoklch(40.96% 0.163 268.5)
XYZxyz(8.9362, 6.3411, 34.4643)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273DA1 #A18B27
analogous
#277AA1 #273DA1 #4E27A1
triadic
#273DA1 #A1273D #3DA127
tetradic
#273DA1 #A1277A #A18B27 #27A14E
square
#273DA1 #A1277A #A18B27 #27A14E
split-complementary
#273DA1 #A14E27 #7AA127
monochromatic
#0F183E #1B2A70 #273DA1 #3752CE #687DDA

Accessibility & contrast

On white

9.26
#273DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#273DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273DA1
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273DA1#FFFFFF#000000##FFFFFF
##273DA11.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA4
Deuteranopia (green-blind)
#00429F
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #273da1;
/* rgb */ color: rgb(39, 61, 161);
/* oklch */ color: oklch(41.0% 0.163 268.5);
Tailwind
colors: {
  custom: {
    50: '#7472be',
    500: '#273da1',
    950: '#000000',
  },
}
SCSS
$custom: #273da1;
$custom-light: #7472be;
$custom-dark: #000000;
JSON
{
  "hex": "#273da1",
  "rgb": {
    "r": 39,
    "g": 61,
    "b": 161
  },
  "hsl": {
    "h": 229.18,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40958,
    "c": 0.16344,
    "h": 268.5
  },
  "luminance": 0.06342
}

Semantic roles & 50–950 ramp

primary
#273DA1
secondary
#C0B063
accent
#C744E4
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #273DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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