#273DAE#273DAE

#273DAE is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.2% C 0.181 H 268.5°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#273DAE
RGBrgb(39, 61, 174)
HSLhsl(230, 63%, 42%)
HSVhsv(230, 78%, 68%)
CMYKcmyk(77.6%, 64.9%, 0%, 31.8%)
CIE-LABlab(31.40, 32.84, -62.48)
CIE-LCHlch(31.40, 70.59, 297.73°)
OKLaboklab(42.16% -0.0047 -0.1808)
OKLCHoklch(42.16% 0.181 268.5)
XYZxyz(10.1428, 6.8237, 40.8187)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273DAE #AE9827
analogous
#2781AE #273DAE #5527AE
triadic
#273DAE #AE273D #3DAE27
tetradic
#273DAE #AE2781 #AE9827 #27AE55
square
#273DAE #AE2781 #AE9827 #27AE55
split-complementary
#273DAE #AE5527 #81AE27
monochromatic
#111A4A #1C2B7C #273DAE #3E57D4 #7082DF

Accessibility & contrast

On white

8.88
#273DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#273DAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273DAE
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273DAE#FFFFFF#000000##FFFFFF
##273DAE1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#0044AC
Tritanopia (blue-blind)
#005B70
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #273dae;
/* rgb */ color: rgb(39, 61, 174);
/* oklch */ color: oklch(42.2% 0.181 268.5);
Tailwind
colors: {
  custom: {
    50: '#7772c7',
    500: '#273dae',
    950: '#000000',
  },
}
SCSS
$custom: #273dae;
$custom-light: #7772c7;
$custom-dark: #000000;
JSON
{
  "hex": "#273dae",
  "rgb": {
    "r": 39,
    "g": 61,
    "b": 174
  },
  "hsl": {
    "h": 230.222,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42156,
    "c": 0.18083,
    "h": 268.5
  },
  "luminance": 0.06825
}

Semantic roles & 50–950 ramp

primary
#273DAE
secondary
#C6B76B
accent
#CC41E6
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #273DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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