#273EA6#273EA6

#273EA6 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.6% C 0.169 H 268.3°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#273EA6
RGBrgb(39, 62, 166)
HSLhsl(229, 62%, 40%)
HSVhsv(229, 77%, 65%)
CMYKcmyk(76.5%, 62.7%, 0%, 34.9%)
CIE-LABlab(30.95, 29.20, -58.44)
CIE-LCHlch(30.95, 65.32, 296.55°)
OKLaboklab(41.6% -0.0051 -0.1689)
OKLCHoklch(41.6% 0.169 268.3)
XYZxyz(9.4399, 6.6287, 36.8510)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273EA6 #A68F27
analogous
#277DA6 #273EA6 #5027A6
triadic
#273EA6 #A6273E #3EA627
tetradic
#273EA6 #A6277D #A68F27 #27A650
square
#273EA6 #A6277D #A68F27 #27A650
split-complementary
#273EA6 #A65027 #7DA627
monochromatic
#101943 #1B2B74 #273EA6 #3A55D1 #6B80DC

Accessibility & contrast

On white

9.03
#273EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#273EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273EA6
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273EA6#FFFFFF#000000##FFFFFF
##273EA61.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA9
Deuteranopia (green-blind)
#0043A4
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #273ea6;
/* rgb */ color: rgb(39, 62, 166);
/* oklch */ color: oklch(41.6% 0.169 268.3);
Tailwind
colors: {
  custom: {
    50: '#7573c1',
    500: '#273ea6',
    950: '#000000',
  },
}
SCSS
$custom: #273ea6;
$custom-light: #7573c1;
$custom-dark: #000000;
JSON
{
  "hex": "#273ea6",
  "rgb": {
    "r": 39,
    "g": 62,
    "b": 166
  },
  "hsl": {
    "h": 229.134,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41602,
    "c": 0.16899,
    "h": 268.3
  },
  "luminance": 0.0663
}

Semantic roles & 50–950 ramp

primary
#273EA6
secondary
#C3B266
accent
#C843E5
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #273EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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