#273990#273990

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

Color values

HEX#273990
RGBrgb(39, 57, 144)
HSLhsl(230, 57%, 36%)
HSVhsv(230, 73%, 56%)
CMYKcmyk(72.9%, 60.4%, 0%, 43.5%)
CIE-LABlab(27.77, 24.20, -50.24)
CIE-LCHlch(27.77, 55.77, 295.72°)
OKLaboklab(38.66% -0.0014 -0.1449)
OKLCHoklch(38.66% 0.145 269.5)
XYZxyz(7.3321, 5.3705, 27.0303)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273990 #907E27
analogous
#276D90 #273990 #492790
triadic
#273990 #902739 #399027
tetradic
#273990 #90276D #907E27 #279049
square
#273990 #90276D #907E27 #279049
split-complementary
#273990 #904927 #6D9027
monochromatic
#0D1330 #1A2660 #273990 #344CC0 #5E72D3

Accessibility & contrast

On white

10.12
#273990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273990
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273990#FFFFFF#000000##FFFFFF
##2739901.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004793
Deuteranopia (green-blind)
#003D8E
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #273990;
/* rgb */ color: rgb(39, 57, 144);
/* oklch */ color: oklch(38.7% 0.145 269.5);
Tailwind
colors: {
  custom: {
    50: '#706fb1',
    500: '#273990',
    950: '#000000',
  },
}
SCSS
$custom: #273990;
$custom-light: #706fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#273990",
  "rgb": {
    "r": 39,
    "g": 57,
    "b": 144
  },
  "hsl": {
    "h": 229.714,
    "s": 57.377,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38661,
    "c": 0.14493,
    "h": 269.5
  },
  "luminance": 0.05371
}

Semantic roles & 50–950 ramp

primary
#273990
secondary
#B9A85A
accent
#C647E1
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #273990

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

Preview Lab → · Contrast checker → · Palette generator →

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