#273B94#273B94

#273B94 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.4% C 0.148 H 268.9°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#273B94
RGBrgb(39, 59, 148)
HSLhsl(229, 58%, 37%)
HSVhsv(229, 74%, 58%)
CMYKcmyk(73.6%, 60.1%, 0%, 42%)
CIE-LABlab(28.63, 24.37, -51.28)
CIE-LCHlch(28.63, 56.78, 295.42°)
OKLaboklab(39.41% -0.0029 -0.148)
OKLCHoklch(39.41% 0.148 268.9)
XYZxyz(7.7441, 5.6966, 28.7027)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273B94 #948027
analogous
#277294 #273B94 #4A2794
triadic
#273B94 #94273B #3B9427
tetradic
#273B94 #942772 #948027 #27944A
square
#273B94 #942772 #948027 #27944A
split-complementary
#273B94 #944A27 #729427
monochromatic
#0D1433 #1A2864 #273B94 #344EC4 #6076D5

Accessibility & contrast

On white

9.82
#273B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#273B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273B94
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273B94#FFFFFF#000000##FFFFFF
##273B941.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004997
Deuteranopia (green-blind)
#003F92
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #273b94;
/* rgb */ color: rgb(39, 59, 148);
/* oklch */ color: oklch(39.4% 0.148 268.9);
Tailwind
colors: {
  custom: {
    50: '#7170b4',
    500: '#273b94',
    950: '#000000',
  },
}
SCSS
$custom: #273b94;
$custom-light: #7170b4;
$custom-dark: #000000;
JSON
{
  "hex": "#273b94",
  "rgb": {
    "r": 39,
    "g": 59,
    "b": 148
  },
  "hsl": {
    "h": 228.991,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39411,
    "c": 0.14799,
    "h": 268.9
  },
  "luminance": 0.05697
}

Semantic roles & 50–950 ramp

primary
#273B94
secondary
#BBA95C
accent
#C546E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #273B94

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

Preview Lab → · Contrast checker → · Palette generator →

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