#273FA6#273FA6

#273FA6 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.8% C 0.168 H 268.0°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#273FA6
RGBrgb(39, 63, 166)
HSLhsl(229, 62%, 40%)
HSVhsv(229, 77%, 65%)
CMYKcmyk(76.5%, 62%, 0%, 34.9%)
CIE-LABlab(31.20, 28.53, -58.01)
CIE-LCHlch(31.20, 64.65, 296.19°)
OKLaboklab(41.79% -0.0058 -0.1677)
OKLCHoklch(41.79% 0.168 268)
XYZxyz(9.4948, 6.7385, 36.8693)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273FA6 #A68E27
analogous
#277FA6 #273FA6 #4E27A6
triadic
#273FA6 #A6273F #3FA627
tetradic
#273FA6 #A6277F #A68E27 #27A64E
square
#273FA6 #A6277F #A68E27 #27A64E
split-complementary
#273FA6 #A64E27 #7FA627
monochromatic
#101943 #1B2C74 #273FA6 #3A56D1 #6B81DC

Accessibility & contrast

On white

8.94
#273FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#273FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273FA6
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273FA6#FFFFFF#000000##FFFFFF
##273FA61.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A9
Deuteranopia (green-blind)
#0044A4
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #273fa6;
/* rgb */ color: rgb(39, 63, 166);
/* oklch */ color: oklch(41.8% 0.168 268.0);
Tailwind
colors: {
  custom: {
    50: '#7573c1',
    500: '#273fa6',
    950: '#000000',
  },
}
SCSS
$custom: #273fa6;
$custom-light: #7573c1;
$custom-dark: #000000;
JSON
{
  "hex": "#273fa6",
  "rgb": {
    "r": 39,
    "g": 63,
    "b": 166
  },
  "hsl": {
    "h": 228.661,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41793,
    "c": 0.16776,
    "h": 268
  },
  "luminance": 0.0674
}

Semantic roles & 50–950 ramp

primary
#273FA6
secondary
#C3B166
accent
#C643E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #273FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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