#273DA2#273DA2

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

Color values

HEX#273DA2
RGBrgb(39, 61, 162)
HSLhsl(229, 61%, 39%)
HSVhsv(229, 76%, 64%)
CMYKcmyk(75.9%, 62.3%, 0%, 36.5%)
CIE-LABlab(30.34, 28.35, -57.01)
CIE-LCHlch(30.34, 63.67, 296.44°)
OKLaboklab(41.05% -0.0044 -0.1647)
OKLCHoklch(41.05% 0.165 268.5)
XYZxyz(9.0248, 6.3765, 34.9306)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273DA2 #A28C27
analogous
#277BA2 #273DA2 #4E27A2
triadic
#273DA2 #A2273D #3DA227
tetradic
#273DA2 #A2277B #A28C27 #27A24E
square
#273DA2 #A2277B #A28C27 #27A24E
split-complementary
#273DA2 #A24E27 #7BA227
monochromatic
#0F183F #1B2A71 #273DA2 #3752CF #697DDB

Accessibility & contrast

On white

9.23
#273DA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#273DA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273DA2
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273DA2#FFFFFF#000000##FFFFFF
##273DA21.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#0042A0
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #273da2;
/* rgb */ color: rgb(39, 61, 162);
/* oklch */ color: oklch(41.0% 0.165 268.5);
Tailwind
colors: {
  custom: {
    50: '#7472be',
    500: '#273da2',
    950: '#000000',
  },
}
SCSS
$custom: #273da2;
$custom-light: #7472be;
$custom-dark: #000000;
JSON
{
  "hex": "#273da2",
  "rgb": {
    "r": 39,
    "g": 61,
    "b": 162
  },
  "hsl": {
    "h": 229.268,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41049,
    "c": 0.1648,
    "h": 268.5
  },
  "luminance": 0.06377
}

Semantic roles & 50–950 ramp

primary
#273DA2
secondary
#C1B064
accent
#C843E4
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #273DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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