#273095#273095

#273095 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.163 H 271.7°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#273095
RGBrgb(39, 48, 149)
HSLhsl(235, 59%, 37%)
HSVhsv(235, 74%, 58%)
CMYKcmyk(73.8%, 67.8%, 0%, 41.6%)
CIE-LABlab(25.91, 32.07, -56.36)
CIE-LCHlch(25.91, 64.84, 299.64°)
OKLaboklab(37.43% 0.0049 -0.1629)
OKLCHoklch(37.43% 0.163 271.7)
XYZxyz(7.3166, 4.7144, 28.9523)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273095 #958C27
analogous
#276795 #273095 #552795
triadic
#273095 #952730 #309527
tetradic
#273095 #952767 #958C27 #279555
square
#273095 #952767 #958C27 #279555
split-complementary
#273095 #955527 #679527
monochromatic
#0E1134 #1A2064 #273095 #3440C6 #616AD6

Accessibility & contrast

On white

10.81
#273095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#273095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273095
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273095#FFFFFF#000000##FFFFFF
##2730951.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#003893
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #273095;
/* rgb */ color: rgb(39, 48, 149);
/* oklch */ color: oklch(37.4% 0.163 271.7);
Tailwind
colors: {
  custom: {
    50: '#7268b5',
    500: '#273095',
    950: '#000000',
  },
}
SCSS
$custom: #273095;
$custom-light: #7268b5;
$custom-dark: #000000;
JSON
{
  "hex": "#273095",
  "rgb": {
    "r": 39,
    "g": 48,
    "b": 149
  },
  "hsl": {
    "h": 235.091,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37428,
    "c": 0.16301,
    "h": 271.7
  },
  "luminance": 0.04715
}

Semantic roles & 50–950 ramp

primary
#273095
secondary
#BBB35D
accent
#D546E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #273095

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

Preview Lab → · Contrast checker → · Palette generator →

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