#273297#273297

#273297 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.163 H 271.2°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#273297
RGBrgb(39, 50, 151)
HSLhsl(234, 59%, 37%)
HSVhsv(234, 74%, 59%)
CMYKcmyk(74.2%, 66.9%, 0%, 40.8%)
CIE-LABlab(26.58, 31.50, -56.48)
CIE-LCHlch(26.58, 64.67, 299.15°)
OKLaboklab(37.98% 0.0035 -0.1633)
OKLCHoklch(37.98% 0.163 271.2)
XYZxyz(7.5613, 4.9461, 29.8284)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273297 #978C27
analogous
#276A97 #273297 #542797
triadic
#273297 #972732 #329727
tetradic
#273297 #97276A #978C27 #279754
square
#273297 #97276A #978C27 #279754
split-complementary
#273297 #975427 #6A9727
monochromatic
#0E1236 #1A2266 #273297 #3442C8 #626DD6

Accessibility & contrast

On white

10.56
#273297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273297
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273297#FFFFFF#000000##FFFFFF
##2732971.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#003A95
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #273297;
/* rgb */ color: rgb(39, 50, 151);
/* oklch */ color: oklch(38.0% 0.163 271.2);
Tailwind
colors: {
  custom: {
    50: '#736ab7',
    500: '#273297',
    950: '#000000',
  },
}
SCSS
$custom: #273297;
$custom-light: #736ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#273297",
  "rgb": {
    "r": 39,
    "g": 50,
    "b": 151
  },
  "hsl": {
    "h": 234.107,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37978,
    "c": 0.16332,
    "h": 271.2
  },
  "luminance": 0.04947
}

Semantic roles & 50–950 ramp

primary
#273297
secondary
#BCB35E
accent
#D346E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #273297

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

Preview Lab → · Contrast checker → · Palette generator →

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