#273A94#273A94

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

Color values

HEX#273A94
RGBrgb(39, 58, 148)
HSLhsl(230, 58%, 37%)
HSVhsv(230, 74%, 58%)
CMYKcmyk(73.6%, 60.8%, 0%, 42%)
CIE-LABlab(28.37, 25.05, -51.72)
CIE-LCHlch(28.37, 57.47, 295.84°)
OKLaboklab(39.21% -0.0021 -0.1492)
OKLCHoklch(39.21% 0.149 269.2)
XYZxyz(7.6932, 5.5948, 28.6857)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273A94 #948127
analogous
#277194 #273A94 #4B2794
triadic
#273A94 #94273A #3A9427
tetradic
#273A94 #942771 #948127 #27944B
square
#273A94 #942771 #948127 #27944B
split-complementary
#273A94 #944B27 #719427
monochromatic
#0D1433 #1A2764 #273A94 #344DC4 #6075D5

Accessibility & contrast

On white

9.91
#273A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#273A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273A94
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273A94#FFFFFF#000000##FFFFFF
##273A941.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #273a94;
/* rgb */ color: rgb(39, 58, 148);
/* oklch */ color: oklch(39.2% 0.149 269.2);
Tailwind
colors: {
  custom: {
    50: '#716fb4',
    500: '#273a94',
    950: '#000000',
  },
}
SCSS
$custom: #273a94;
$custom-light: #716fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#273a94",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 148
  },
  "hsl": {
    "h": 229.541,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39212,
    "c": 0.14927,
    "h": 269.2
  },
  "luminance": 0.05596
}

Semantic roles & 50–950 ramp

primary
#273A94
secondary
#BBAA5C
accent
#C646E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #273A94

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

Preview Lab → · Contrast checker → · Palette generator →

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