#273FA8#273FA8

#273FA8 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.0% C 0.170 H 268.1°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#273FA8
RGBrgb(39, 63, 168)
HSLhsl(229, 62%, 41%)
HSVhsv(229, 77%, 66%)
CMYKcmyk(76.8%, 62.5%, 0%, 34.1%)
CIE-LABlab(31.38, 29.29, -58.93)
CIE-LCHlch(31.38, 65.81, 296.43°)
OKLaboklab(41.97% -0.0058 -0.1704)
OKLCHoklch(41.97% 0.17 268.1)
XYZxyz(9.6796, 6.8124, 37.8430)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273FA8 #A89027
analogous
#277FA8 #273FA8 #4F27A8
triadic
#273FA8 #A8273F #3FA827
tetradic
#273FA8 #A8277F #A89027 #27A84F
square
#273FA8 #A8277F #A89027 #27A84F
split-complementary
#273FA8 #A84F27 #7FA827
monochromatic
#101A45 #1B2C76 #273FA8 #3B57D1 #6C81DD

Accessibility & contrast

On white

8.89
#273FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#273FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273FA8
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273FA8#FFFFFF#000000##FFFFFF
##273FA81.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AB
Deuteranopia (green-blind)
#0044A6
Tritanopia (blue-blind)
#005A6D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #273fa8;
/* rgb */ color: rgb(39, 63, 168);
/* oklch */ color: oklch(42.0% 0.170 268.1);
Tailwind
colors: {
  custom: {
    50: '#7673c3',
    500: '#273fa8',
    950: '#000000',
  },
}
SCSS
$custom: #273fa8;
$custom-light: #7673c3;
$custom-dark: #000000;
JSON
{
  "hex": "#273fa8",
  "rgb": {
    "r": 39,
    "g": 63,
    "b": 168
  },
  "hsl": {
    "h": 228.837,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41974,
    "c": 0.17046,
    "h": 268.1
  },
  "luminance": 0.06814
}

Semantic roles & 50–950 ramp

primary
#273FA8
secondary
#C3B267
accent
#C742E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #273FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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