#273A95#273A95

#273A95 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.3% C 0.151 H 269.2°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#273A95
RGBrgb(39, 58, 149)
HSLhsl(230, 59%, 37%)
HSVhsv(230, 74%, 58%)
CMYKcmyk(73.8%, 61.1%, 0%, 41.6%)
CIE-LABlab(28.45, 25.43, -52.20)
CIE-LCHlch(28.45, 58.06, 295.98°)
OKLaboklab(39.3% -0.0021 -0.1506)
OKLCHoklch(39.3% 0.151 269.2)
XYZxyz(7.7727, 5.6266, 29.1043)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273A95 #958227
analogous
#277195 #273A95 #4B2795
triadic
#273A95 #95273A #3A9527
tetradic
#273A95 #952771 #958227 #27954B
square
#273A95 #952771 #958227 #27954B
split-complementary
#273A95 #954B27 #719527
monochromatic
#0E1434 #1A2764 #273A95 #344DC6 #6175D6

Accessibility & contrast

On white

9.88
#273A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#273A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273A95
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273A95#FFFFFF#000000##FFFFFF
##273A951.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004898
Deuteranopia (green-blind)
#003E93
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #273a95;
/* rgb */ color: rgb(39, 58, 149);
/* oklch */ color: oklch(39.3% 0.151 269.2);
Tailwind
colors: {
  custom: {
    50: '#7170b5',
    500: '#273a95',
    950: '#000000',
  },
}
SCSS
$custom: #273a95;
$custom-light: #7170b5;
$custom-dark: #000000;
JSON
{
  "hex": "#273a95",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 149
  },
  "hsl": {
    "h": 229.636,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.393,
    "c": 0.15067,
    "h": 269.2
  },
  "luminance": 0.05627
}

Semantic roles & 50–950 ramp

primary
#273A95
secondary
#BBAB5D
accent
#C746E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #273A95

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

Preview Lab → · Contrast checker → · Palette generator →

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