#273CA6#273CA6

#273CA6 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.2% C 0.171 H 268.7°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#273CA6
RGBrgb(39, 60, 166)
HSLhsl(230, 62%, 40%)
HSVhsv(230, 77%, 65%)
CMYKcmyk(76.5%, 63.9%, 0%, 34.9%)
CIE-LABlab(30.44, 30.52, -59.27)
CIE-LCHlch(30.44, 66.66, 297.24°)
OKLaboklab(41.23% -0.0038 -0.1714)
OKLCHoklch(41.23% 0.171 268.7)
XYZxyz(9.3331, 6.4152, 36.8154)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273CA6 #A69127
analogous
#277BA6 #273CA6 #5227A6
triadic
#273CA6 #A6273C #3CA627
tetradic
#273CA6 #A6277B #A69127 #27A652
square
#273CA6 #A6277B #A69127 #27A652
split-complementary
#273CA6 #A65227 #7BA627
monochromatic
#101843 #1B2A74 #273CA6 #3A53D1 #6B7EDC

Accessibility & contrast

On white

9.20
#273CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273CA6
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273CA6#FFFFFF#000000##FFFFFF
##273CA61.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA9
Deuteranopia (green-blind)
#0042A4
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #273ca6;
/* rgb */ color: rgb(39, 60, 166);
/* oklch */ color: oklch(41.2% 0.171 268.7);
Tailwind
colors: {
  custom: {
    50: '#7571c1',
    500: '#273ca6',
    950: '#000000',
  },
}
SCSS
$custom: #273ca6;
$custom-light: #7571c1;
$custom-dark: #000000;
JSON
{
  "hex": "#273ca6",
  "rgb": {
    "r": 39,
    "g": 60,
    "b": 166
  },
  "hsl": {
    "h": 230.079,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41226,
    "c": 0.17141,
    "h": 268.7
  },
  "luminance": 0.06416
}

Semantic roles & 50–950 ramp

primary
#273CA6
secondary
#C3B366
accent
#CA43E5
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #273CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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