#273D94#273D94

#273D94 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.145 H 268.2°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#273D94
RGBrgb(39, 61, 148)
HSLhsl(228, 58%, 37%)
HSVhsv(228, 74%, 58%)
CMYKcmyk(73.6%, 58.8%, 0%, 42%)
CIE-LABlab(29.17, 23.02, -50.40)
CIE-LCHlch(29.17, 55.41, 294.54°)
OKLaboklab(39.82% -0.0045 -0.1453)
OKLCHoklch(39.82% 0.145 268.2)
XYZxyz(7.8489, 5.9061, 28.7376)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273D94 #947E27
analogous
#277494 #273D94 #482794
triadic
#273D94 #94273D #3D9427
tetradic
#273D94 #942774 #947E27 #279448
square
#273D94 #942774 #947E27 #279448
split-complementary
#273D94 #944827 #749427
monochromatic
#0D1533 #1A2964 #273D94 #3451C4 #6078D5

Accessibility & contrast

On white

9.63
#273D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#273D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273D94
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273D94#FFFFFF#000000##FFFFFF
##273D941.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A97
Deuteranopia (green-blind)
#004092
Tritanopia (blue-blind)
#005362
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #273d94;
/* rgb */ color: rgb(39, 61, 148);
/* oklch */ color: oklch(39.8% 0.145 268.2);
Tailwind
colors: {
  custom: {
    50: '#7172b4',
    500: '#273d94',
    950: '#000000',
  },
}
SCSS
$custom: #273d94;
$custom-light: #7172b4;
$custom-dark: #000000;
JSON
{
  "hex": "#273d94",
  "rgb": {
    "r": 39,
    "g": 61,
    "b": 148
  },
  "hsl": {
    "h": 227.89,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39815,
    "c": 0.14542,
    "h": 268.2
  },
  "luminance": 0.05907
}

Semantic roles & 50–950 ramp

primary
#273D94
secondary
#BBA85C
accent
#C246E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #273D94

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

Preview Lab → · Contrast checker → · Palette generator →

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