#273B95#273B95

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

Color values

HEX#273B95
RGBrgb(39, 59, 149)
HSLhsl(229, 59%, 37%)
HSVhsv(229, 74%, 58%)
CMYKcmyk(73.8%, 60.4%, 0%, 41.6%)
CIE-LABlab(28.72, 24.76, -51.76)
CIE-LCHlch(28.72, 57.38, 295.56°)
OKLaboklab(39.5% -0.0029 -0.1494)
OKLCHoklch(39.5% 0.149 268.9)
XYZxyz(7.8236, 5.7284, 29.1213)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273B95 #958127
analogous
#277295 #273B95 #4A2795
triadic
#273B95 #95273B #3B9527
tetradic
#273B95 #952772 #958127 #27954A
square
#273B95 #952772 #958127 #27954A
split-complementary
#273B95 #954A27 #729527
monochromatic
#0E1534 #1A2864 #273B95 #344EC6 #6176D6

Accessibility & contrast

On white

9.79
#273B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#273B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273B95
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273B95#FFFFFF#000000##FFFFFF
##273B951.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#003F93
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #273b95;
/* rgb */ color: rgb(39, 59, 149);
/* oklch */ color: oklch(39.5% 0.149 268.9);
Tailwind
colors: {
  custom: {
    50: '#7170b5',
    500: '#273b95',
    950: '#000000',
  },
}
SCSS
$custom: #273b95;
$custom-light: #7170b5;
$custom-dark: #000000;
JSON
{
  "hex": "#273b95",
  "rgb": {
    "r": 39,
    "g": 59,
    "b": 149
  },
  "hsl": {
    "h": 229.091,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39499,
    "c": 0.14939,
    "h": 268.9
  },
  "luminance": 0.05729
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #273B95

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

Preview Lab → · Contrast checker → · Palette generator →

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