#273893#273893

#273893 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.7% C 0.150 H 269.8°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#273893
RGBrgb(39, 56, 147)
HSLhsl(231, 58%, 36%)
HSVhsv(231, 73%, 58%)
CMYKcmyk(73.5%, 61.9%, 0%, 42.4%)
CIE-LABlab(27.75, 26.02, -52.11)
CIE-LCHlch(27.75, 58.24, 296.54°)
OKLaboklab(38.73% -0.0006 -0.1504)
OKLCHoklch(38.73% 0.15 269.8)
XYZxyz(7.5155, 5.3655, 28.2377)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273893 #938227
analogous
#276E93 #273893 #4C2793
triadic
#273893 #932738 #389327
tetradic
#273893 #93276E #938227 #27934C
square
#273893 #93276E #938227 #27934C
split-complementary
#273893 #934C27 #6E9327
monochromatic
#0D1332 #1A2663 #273893 #344AC3 #6072D5

Accessibility & contrast

On white

10.13
#273893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#273893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273893
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273893#FFFFFF#000000##FFFFFF
##2738931.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004796
Deuteranopia (green-blind)
#003D91
Tritanopia (blue-blind)
#004F60
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #273893;
/* rgb */ color: rgb(39, 56, 147);
/* oklch */ color: oklch(38.7% 0.150 269.8);
Tailwind
colors: {
  custom: {
    50: '#716eb3',
    500: '#273893',
    950: '#000000',
  },
}
SCSS
$custom: #273893;
$custom-light: #716eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#273893",
  "rgb": {
    "r": 39,
    "g": 56,
    "b": 147
  },
  "hsl": {
    "h": 230.556,
    "s": 58.065,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38729,
    "c": 0.15042,
    "h": 269.8
  },
  "luminance": 0.05366
}

Semantic roles & 50–950 ramp

primary
#273893
secondary
#BAAB5C
accent
#C947E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #273893

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

Preview Lab → · Contrast checker → · Palette generator →

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