#273785#273785

#273785 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.3% C 0.132 H 270.0°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#273785
RGBrgb(39, 55, 133)
HSLhsl(230, 55%, 34%)
HSVhsv(230, 71%, 52%)
CMYKcmyk(70.7%, 58.6%, 0%, 47.8%)
CIE-LABlab(26.32, 21.36, -45.77)
CIE-LCHlch(26.32, 50.51, 295.02°)
OKLaboklab(37.3% 0.0001 -0.1318)
OKLCHoklch(37.3% 0.132 270)
XYZxyz(6.4351, 4.8565, 22.7840)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273785 #857527
analogous
#276685 #273785 #462785
triadic
#273785 #852737 #378527
tetradic
#273785 #852766 #857527 #278546
square
#273785 #852766 #857527 #278546
split-complementary
#273785 #854627 #668527
monochromatic
#0B1026 #192356 #273785 #354BB4 #586CCE

Accessibility & contrast

On white

10.65
#273785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273785
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273785#FFFFFF#000000##FFFFFF
##2737851.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004388
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#004A58
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #273785;
/* rgb */ color: rgb(39, 55, 133);
/* oklch */ color: oklch(37.3% 0.132 270.0);
Tailwind
colors: {
  custom: {
    50: '#6e6da9',
    500: '#273785',
    950: '#000000',
  },
}
SCSS
$custom: #273785;
$custom-light: #6e6da9;
$custom-dark: #000000;
JSON
{
  "hex": "#273785",
  "rgb": {
    "r": 39,
    "g": 55,
    "b": 133
  },
  "hsl": {
    "h": 229.787,
    "s": 54.651,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37302,
    "c": 0.1318,
    "h": 270
  },
  "luminance": 0.04857
}

Semantic roles & 50–950 ramp

primary
#273785
secondary
#B3A355
accent
#C54ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #273785

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

Preview Lab → · Contrast checker → · Palette generator →

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