#273EA2#273EA2

#273EA2 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.2% C 0.164 H 268.2°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#273EA2
RGBrgb(39, 62, 162)
HSLhsl(229, 61%, 39%)
HSVhsv(229, 76%, 64%)
CMYKcmyk(75.9%, 61.7%, 0%, 36.5%)
CIE-LABlab(30.60, 27.69, -56.59)
CIE-LCHlch(30.60, 63.00, 296.07°)
OKLaboklab(41.24% -0.0051 -0.1635)
OKLCHoklch(41.24% 0.164 268.2)
XYZxyz(9.0787, 6.4842, 34.9485)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273EA2 #A28B27
analogous
#277CA2 #273EA2 #4D27A2
triadic
#273EA2 #A2273E #3EA227
tetradic
#273EA2 #A2277C #A28B27 #27A24D
square
#273EA2 #A2277C #A28B27 #27A24D
split-complementary
#273EA2 #A24D27 #7CA227
monochromatic
#0F183F #1B2B71 #273EA2 #3754CF #697EDB

Accessibility & contrast

On white

9.14
#273EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#273EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273EA2
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273EA2#FFFFFF#000000##FFFFFF
##273EA21.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#0042A0
Tritanopia (blue-blind)
#00586A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #273ea2;
/* rgb */ color: rgb(39, 62, 162);
/* oklch */ color: oklch(41.2% 0.164 268.2);
Tailwind
colors: {
  custom: {
    50: '#7473be',
    500: '#273ea2',
    950: '#000000',
  },
}
SCSS
$custom: #273ea2;
$custom-light: #7473be;
$custom-dark: #000000;
JSON
{
  "hex": "#273ea2",
  "rgb": {
    "r": 39,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 228.78,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41241,
    "c": 0.16357,
    "h": 268.2
  },
  "luminance": 0.06485
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #273EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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