#273294#273294

#273294 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.7% C 0.159 H 271.3°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#273294
RGBrgb(39, 50, 148)
HSLhsl(234, 58%, 37%)
HSVhsv(234, 74%, 58%)
CMYKcmyk(73.6%, 66.2%, 0%, 42%)
CIE-LABlab(26.30, 30.40, -55.09)
CIE-LCHlch(26.30, 62.92, 298.89°)
OKLaboklab(37.69% 0.0037 -0.1592)
OKLCHoklch(37.69% 0.159 271.3)
XYZxyz(7.3208, 4.8499, 28.5615)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273294 #948927
analogous
#276994 #273294 #532794
triadic
#273294 #942732 #329427
tetradic
#273294 #942769 #948927 #279453
square
#273294 #942769 #948927 #279453
split-complementary
#273294 #945327 #699427
monochromatic
#0D1133 #1A2264 #273294 #3442C4 #606CD5

Accessibility & contrast

On white

10.66
#273294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#273294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273294
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273294#FFFFFF#000000##FFFFFF
##2732941.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#003992
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #273294;
/* rgb */ color: rgb(39, 50, 148);
/* oklch */ color: oklch(37.7% 0.159 271.3);
Tailwind
colors: {
  custom: {
    50: '#726ab4',
    500: '#273294',
    950: '#000000',
  },
}
SCSS
$custom: #273294;
$custom-light: #726ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#273294",
  "rgb": {
    "r": 39,
    "g": 50,
    "b": 148
  },
  "hsl": {
    "h": 233.945,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.3769,
    "c": 0.15926,
    "h": 271.3
  },
  "luminance": 0.04851
}

Semantic roles & 50–950 ramp

primary
#273294
secondary
#BBB15C
accent
#D246E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #273294

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

Preview Lab → · Contrast checker → · Palette generator →

#273294 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva