#273CA4#273CA4

#273CA4 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.0% C 0.169 H 268.7°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#273CA4
RGBrgb(39, 60, 164)
HSLhsl(230, 62%, 40%)
HSVhsv(230, 76%, 64%)
CMYKcmyk(76.2%, 63.4%, 0%, 35.7%)
CIE-LABlab(30.26, 29.77, -58.35)
CIE-LCHlch(30.26, 65.51, 297.03°)
OKLaboklab(41.04% -0.0037 -0.1687)
OKLCHoklch(41.04% 0.169 268.7)
XYZxyz(9.1511, 6.3424, 35.8567)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273CA4 #A48F27
analogous
#277BA4 #273CA4 #5127A4
triadic
#273CA4 #A4273C #3CA427
tetradic
#273CA4 #A4277B #A48F27 #27A451
square
#273CA4 #A4277B #A48F27 #27A451
split-complementary
#273CA4 #A45127 #7BA427
monochromatic
#0F1841 #1B2A73 #273CA4 #3852D0 #6A7DDC

Accessibility & contrast

On white

9.26
#273CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#273CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273CA4
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273CA4#FFFFFF#000000##FFFFFF
##273CA41.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA7
Deuteranopia (green-blind)
#0042A2
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #273ca4;
/* rgb */ color: rgb(39, 60, 164);
/* oklch */ color: oklch(41.0% 0.169 268.7);
Tailwind
colors: {
  custom: {
    50: '#7571c0',
    500: '#273ca4',
    950: '#000000',
  },
}
SCSS
$custom: #273ca4;
$custom-light: #7571c0;
$custom-dark: #000000;
JSON
{
  "hex": "#273ca4",
  "rgb": {
    "r": 39,
    "g": 60,
    "b": 164
  },
  "hsl": {
    "h": 229.92,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41041,
    "c": 0.16873,
    "h": 268.7
  },
  "luminance": 0.06343
}

Semantic roles & 50–950 ramp

primary
#273CA4
secondary
#C2B265
accent
#CA43E5
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #273CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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