#273FA4#273FA4

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

Color values

HEX#273FA4
RGBrgb(39, 63, 164)
HSLhsl(228, 62%, 40%)
HSVhsv(228, 76%, 64%)
CMYKcmyk(76.2%, 61.6%, 0%, 35.7%)
CIE-LABlab(31.03, 27.78, -57.09)
CIE-LCHlch(31.03, 63.49, 295.94°)
OKLaboklab(41.61% -0.0057 -0.165)
OKLCHoklch(41.61% 0.165 268)
XYZxyz(9.3127, 6.6657, 35.9106)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273FA4 #A48C27
analogous
#277EA4 #273FA4 #4E27A4
triadic
#273FA4 #A4273F #3FA427
tetradic
#273FA4 #A4277E #A48C27 #27A44E
square
#273FA4 #A4277E #A48C27 #27A44E
split-complementary
#273FA4 #A44E27 #7EA427
monochromatic
#0F1941 #1B2C73 #273FA4 #3855D0 #6A80DC

Accessibility & contrast

On white

9.00
#273FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#273FA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273FA4
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273FA4#FFFFFF#000000##FFFFFF
##273FA41.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA7
Deuteranopia (green-blind)
#0043A2
Tritanopia (blue-blind)
#00596B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #273fa4;
/* rgb */ color: rgb(39, 63, 164);
/* oklch */ color: oklch(41.6% 0.165 268.0);
Tailwind
colors: {
  custom: {
    50: '#7573c0',
    500: '#273fa4',
    950: '#000000',
  },
}
SCSS
$custom: #273fa4;
$custom-light: #7573c0;
$custom-dark: #000000;
JSON
{
  "hex": "#273fa4",
  "rgb": {
    "r": 39,
    "g": 63,
    "b": 164
  },
  "hsl": {
    "h": 228.48,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41613,
    "c": 0.16505,
    "h": 268
  },
  "luminance": 0.06667
}

Semantic roles & 50–950 ramp

primary
#273FA4
secondary
#C2B065
accent
#C643E5
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #273FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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