#273790#273790

#273790 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.3% C 0.147 H 270.1°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#273790
RGBrgb(39, 55, 144)
HSLhsl(231, 57%, 36%)
HSVhsv(231, 73%, 56%)
CMYKcmyk(72.9%, 61.8%, 0%, 43.5%)
CIE-LABlab(27.23, 25.56, -51.11)
CIE-LCHlch(27.23, 57.14, 296.57°)
OKLaboklab(38.27% 0.0002 -0.1475)
OKLCHoklch(38.27% 0.148 270.1)
XYZxyz(7.2352, 5.1766, 26.9980)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273790 #908027
analogous
#276B90 #273790 #4B2790
triadic
#273790 #902737 #379027
tetradic
#273790 #90276B #908027 #27904B
square
#273790 #90276B #908027 #27904B
split-complementary
#273790 #904B27 #6B9027
monochromatic
#0D1230 #1A2560 #273790 #3449C0 #5E70D3

Accessibility & contrast

On white

10.32
#273790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#273790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273790
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273790#FFFFFF#000000##FFFFFF
##2737901.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004593
Deuteranopia (green-blind)
#003C8E
Tritanopia (blue-blind)
#004D5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #273790;
/* rgb */ color: rgb(39, 55, 144);
/* oklch */ color: oklch(38.3% 0.147 270.1);
Tailwind
colors: {
  custom: {
    50: '#706db1',
    500: '#273790',
    950: '#000000',
  },
}
SCSS
$custom: #273790;
$custom-light: #706db1;
$custom-dark: #000000;
JSON
{
  "hex": "#273790",
  "rgb": {
    "r": 39,
    "g": 55,
    "b": 144
  },
  "hsl": {
    "h": 230.857,
    "s": 57.377,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38265,
    "c": 0.1475,
    "h": 270.1
  },
  "luminance": 0.05177
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #273790

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

Preview Lab → · Contrast checker → · Palette generator →

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