#273CA7#273CA7

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

Color values

HEX#273CA7
RGBrgb(39, 60, 167)
HSLhsl(230, 62%, 40%)
HSVhsv(230, 77%, 65%)
CMYKcmyk(76.6%, 64.1%, 0%, 34.5%)
CIE-LABlab(30.53, 30.89, -59.73)
CIE-LCHlch(30.53, 67.24, 297.35°)
OKLaboklab(41.32% -0.0038 -0.1727)
OKLCHoklch(41.32% 0.173 268.7)
XYZxyz(9.4252, 6.4520, 37.3004)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273CA7 #A79227
analogous
#277CA7 #273CA7 #5227A7
triadic
#273CA7 #A7273C #3CA727
tetradic
#273CA7 #A7277C #A79227 #27A752
square
#273CA7 #A7277C #A79227 #27A752
split-complementary
#273CA7 #A75227 #7CA727
monochromatic
#101844 #1B2A75 #273CA7 #3A53D1 #6C7EDD

Accessibility & contrast

On white

9.17
#273CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#273CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273CA7
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273CA7#FFFFFF#000000##FFFFFF
##273CA71.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAA
Deuteranopia (green-blind)
#0042A5
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #273ca7;
/* rgb */ color: rgb(39, 60, 167);
/* oklch */ color: oklch(41.3% 0.173 268.7);
Tailwind
colors: {
  custom: {
    50: '#7671c2',
    500: '#273ca7',
    950: '#000000',
  },
}
SCSS
$custom: #273ca7;
$custom-light: #7671c2;
$custom-dark: #000000;
JSON
{
  "hex": "#273ca7",
  "rgb": {
    "r": 39,
    "g": 60,
    "b": 167
  },
  "hsl": {
    "h": 230.156,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41318,
    "c": 0.17275,
    "h": 268.7
  },
  "luminance": 0.06453
}

Semantic roles & 50–950 ramp

primary
#273CA7
secondary
#C3B467
accent
#CB43E5
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #273CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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