#273EA3#273EA3

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

Color values

HEX#273EA3
RGBrgb(39, 62, 163)
HSLhsl(229, 61%, 40%)
HSVhsv(229, 76%, 64%)
CMYKcmyk(76.1%, 62%, 0%, 36.1%)
CIE-LABlab(30.69, 28.06, -57.05)
CIE-LCHlch(30.69, 63.58, 296.19°)
OKLaboklab(41.33% -0.0051 -0.1648)
OKLCHoklch(41.33% 0.165 268.2)
XYZxyz(9.1679, 6.5199, 35.4185)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273EA3 #A38C27
analogous
#277CA3 #273EA3 #4E27A3
triadic
#273EA3 #A3273E #3EA327
tetradic
#273EA3 #A3277C #A38C27 #27A34E
square
#273EA3 #A3277C #A38C27 #27A34E
split-complementary
#273EA3 #A34E27 #7CA327
monochromatic
#0F1840 #1B2B72 #273EA3 #3854CF #697EDB

Accessibility & contrast

On white

9.11
#273EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273EA3
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273EA3#FFFFFF#000000##FFFFFF
##273EA31.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA6
Deuteranopia (green-blind)
#0043A1
Tritanopia (blue-blind)
#00586A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #273ea3;
/* rgb */ color: rgb(39, 62, 163);
/* oklch */ color: oklch(41.3% 0.165 268.2);
Tailwind
colors: {
  custom: {
    50: '#7473bf',
    500: '#273ea3',
    950: '#000000',
  },
}
SCSS
$custom: #273ea3;
$custom-light: #7473bf;
$custom-dark: #000000;
JSON
{
  "hex": "#273ea3",
  "rgb": {
    "r": 39,
    "g": 62,
    "b": 163
  },
  "hsl": {
    "h": 228.871,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41331,
    "c": 0.16493,
    "h": 268.2
  },
  "luminance": 0.06521
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #273EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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