#273296#273296

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

Color values

HEX#273296
RGBrgb(39, 50, 150)
HSLhsl(234, 59%, 37%)
HSVhsv(234, 74%, 59%)
CMYKcmyk(74%, 66.7%, 0%, 41.2%)
CIE-LABlab(26.49, 31.14, -56.02)
CIE-LCHlch(26.49, 64.09, 299.07°)
OKLaboklab(37.88% 0.0035 -0.1619)
OKLCHoklch(37.88% 0.162 271.2)
XYZxyz(7.4805, 4.9138, 29.4025)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273296 #968B27
analogous
#276A96 #273296 #542796
triadic
#273296 #962732 #329627
tetradic
#273296 #96276A #968B27 #279654
square
#273296 #96276A #968B27 #279654
split-complementary
#273296 #965427 #6A9627
monochromatic
#0E1235 #1A2265 #273296 #3442C7 #616DD6

Accessibility & contrast

On white

10.59
#273296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273296
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273296#FFFFFF#000000##FFFFFF
##2732961.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#003994
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #273296;
/* rgb */ color: rgb(39, 50, 150);
/* oklch */ color: oklch(37.9% 0.162 271.2);
Tailwind
colors: {
  custom: {
    50: '#726ab6',
    500: '#273296',
    950: '#000000',
  },
}
SCSS
$custom: #273296;
$custom-light: #726ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#273296",
  "rgb": {
    "r": 39,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 234.054,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37882,
    "c": 0.16197,
    "h": 271.2
  },
  "luminance": 0.04915
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #273296

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

Preview Lab → · Contrast checker → · Palette generator →

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