#273295#273295

#273295 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.8% C 0.161 H 271.3°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#273295
RGBrgb(39, 50, 149)
HSLhsl(234, 59%, 37%)
HSVhsv(234, 74%, 58%)
CMYKcmyk(73.8%, 66.4%, 0%, 41.6%)
CIE-LABlab(26.39, 30.77, -55.56)
CIE-LCHlch(26.39, 63.51, 298.98°)
OKLaboklab(37.79% 0.0036 -0.1606)
OKLCHoklch(37.79% 0.161 271.3)
XYZxyz(7.4003, 4.8817, 28.9802)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273295 #958A27
analogous
#276995 #273295 #532795
triadic
#273295 #952732 #329527
tetradic
#273295 #952769 #958A27 #279553
square
#273295 #952769 #958A27 #279553
split-complementary
#273295 #955327 #699527
monochromatic
#0E1134 #1A2264 #273295 #3442C6 #616CD6

Accessibility & contrast

On white

10.63
#273295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#273295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273295
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273295#FFFFFF#000000##FFFFFF
##2732951.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#003993
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #273295;
/* rgb */ color: rgb(39, 50, 149);
/* oklch */ color: oklch(37.8% 0.161 271.3);
Tailwind
colors: {
  custom: {
    50: '#726ab5',
    500: '#273295',
    950: '#000000',
  },
}
SCSS
$custom: #273295;
$custom-light: #726ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#273295",
  "rgb": {
    "r": 39,
    "g": 50,
    "b": 149
  },
  "hsl": {
    "h": 234,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37786,
    "c": 0.16062,
    "h": 271.3
  },
  "luminance": 0.04882
}

Semantic roles & 50–950 ramp

primary
#273295
secondary
#BBB25D
accent
#D246E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #273295

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

Preview Lab → · Contrast checker → · Palette generator →

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