#273395#273395

#273395 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.0% C 0.159 H 271.0°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#273395
RGBrgb(39, 51, 149)
HSLhsl(233, 59%, 37%)
HSVhsv(233, 74%, 58%)
CMYKcmyk(73.8%, 65.8%, 0%, 41.6%)
CIE-LABlab(26.64, 30.11, -55.15)
CIE-LCHlch(26.64, 62.83, 298.63°)
OKLaboklab(37.97% 0.0029 -0.1594)
OKLCHoklch(37.97% 0.159 271)
XYZxyz(7.4435, 4.9682, 28.9946)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273395 #958927
analogous
#276A95 #273395 #522795
triadic
#273395 #952733 #339527
tetradic
#273395 #95276A #958927 #279552
square
#273395 #95276A #958927 #279552
split-complementary
#273395 #955227 #6A9527
monochromatic
#0E1234 #1A2264 #273395 #3444C6 #616ED6

Accessibility & contrast

On white

10.53
#273395 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#273395 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273395
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273395#FFFFFF#000000##FFFFFF
##2733951.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#003A93
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #273395;
/* rgb */ color: rgb(39, 51, 149);
/* oklch */ color: oklch(38.0% 0.159 271.0);
Tailwind
colors: {
  custom: {
    50: '#726ab5',
    500: '#273395',
    950: '#000000',
  },
}
SCSS
$custom: #273395;
$custom-light: #726ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#273395",
  "rgb": {
    "r": 39,
    "g": 51,
    "b": 149
  },
  "hsl": {
    "h": 233.455,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37968,
    "c": 0.15941,
    "h": 271
  },
  "luminance": 0.04969
}

Semantic roles & 50–950 ramp

primary
#273395
secondary
#BBB15D
accent
#D146E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #273395

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

Preview Lab → · Contrast checker → · Palette generator →

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