#273FAE#273FAE

#273FAE is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.5% C 0.178 H 268.1°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#273FAE
RGBrgb(39, 63, 174)
HSLhsl(229, 63%, 42%)
HSVhsv(229, 78%, 68%)
CMYKcmyk(77.6%, 63.8%, 0%, 31.8%)
CIE-LABlab(31.90, 31.54, -61.67)
CIE-LCHlch(31.90, 69.26, 297.09°)
OKLaboklab(42.52% -0.0059 -0.1784)
OKLCHoklch(42.52% 0.178 268.1)
XYZxyz(10.2515, 7.0412, 40.8550)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273FAE #AE9627
analogous
#2783AE #273FAE #5227AE
triadic
#273FAE #AE273F #3FAE27
tetradic
#273FAE #AE2783 #AE9627 #27AE52
square
#273FAE #AE2783 #AE9627 #27AE52
split-complementary
#273FAE #AE5227 #83AE27
monochromatic
#111B4A #1C2D7C #273FAE #3E59D4 #7084DF

Accessibility & contrast

On white

8.72
#273FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#273FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273FAE
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273FAE#FFFFFF#000000##FFFFFF
##273FAE1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#0045AC
Tritanopia (blue-blind)
#005C70
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #273fae;
/* rgb */ color: rgb(39, 63, 174);
/* oklch */ color: oklch(42.5% 0.178 268.1);
Tailwind
colors: {
  custom: {
    50: '#7774c7',
    500: '#273fae',
    950: '#000000',
  },
}
SCSS
$custom: #273fae;
$custom-light: #7774c7;
$custom-dark: #000000;
JSON
{
  "hex": "#273fae",
  "rgb": {
    "r": 39,
    "g": 63,
    "b": 174
  },
  "hsl": {
    "h": 229.333,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42523,
    "c": 0.17846,
    "h": 268.1
  },
  "luminance": 0.07042
}

Semantic roles & 50–950 ramp

primary
#273FAE
secondary
#C6B66B
accent
#C941E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #273FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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