#273293#273293

#273293 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.158 H 271.4°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#273293
RGBrgb(39, 50, 147)
HSLhsl(234, 58%, 36%)
HSVhsv(234, 73%, 58%)
CMYKcmyk(73.5%, 66%, 0%, 42.4%)
CIE-LABlab(26.21, 30.03, -54.63)
CIE-LCHlch(26.21, 62.34, 298.80°)
OKLaboklab(37.59% 0.0037 -0.1579)
OKLCHoklch(37.59% 0.158 271.4)
XYZxyz(7.2420, 4.8184, 28.1465)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273293 #938827
analogous
#276893 #273293 #522793
triadic
#273293 #932732 #329327
tetradic
#273293 #932768 #938827 #279352
square
#273293 #932768 #938827 #279352
split-complementary
#273293 #935227 #689327
monochromatic
#0D1132 #1A2263 #273293 #3442C3 #606CD5

Accessibility & contrast

On white

10.69
#273293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#273293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273293
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273293#FFFFFF#000000##FFFFFF
##2732931.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004396
Deuteranopia (green-blind)
#003991
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #273293;
/* rgb */ color: rgb(39, 50, 147);
/* oklch */ color: oklch(37.6% 0.158 271.4);
Tailwind
colors: {
  custom: {
    50: '#726ab4',
    500: '#273293',
    950: '#000000',
  },
}
SCSS
$custom: #273293;
$custom-light: #726ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#273293",
  "rgb": {
    "r": 39,
    "g": 50,
    "b": 147
  },
  "hsl": {
    "h": 233.889,
    "s": 58.065,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37594,
    "c": 0.1579,
    "h": 271.4
  },
  "luminance": 0.04819
}

Semantic roles & 50–950 ramp

primary
#273293
secondary
#BAB05C
accent
#D247E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #273293

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

Preview Lab → · Contrast checker → · Palette generator →

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