#273384#273384

#273384 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.4% C 0.136 H 271.5°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#273384
RGBrgb(39, 51, 132)
HSLhsl(232, 54%, 34%)
HSVhsv(232, 70%, 52%)
CMYKcmyk(70.5%, 61.4%, 0%, 48.2%)
CIE-LABlab(25.15, 23.73, -47.05)
CIE-LCHlch(25.15, 52.69, 296.76°)
OKLaboklab(36.4% 0.0035 -0.1356)
OKLCHoklch(36.4% 0.136 271.5)
XYZxyz(6.1840, 4.4643, 22.3611)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273384 #847827
analogous
#276184 #273384 #492784
triadic
#273384 #842733 #338427
tetradic
#273384 #842761 #847827 #278449
square
#273384 #842761 #847827 #278449
split-complementary
#273384 #844927 #618427
monochromatic
#0B0E26 #192155 #273384 #3545B3 #5867CE

Accessibility & contrast

On white

11.09
#273384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#273384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273384
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273384#FFFFFF#000000##FFFFFF
##2733841.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004087
Deuteranopia (green-blind)
#003882
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #273384;
/* rgb */ color: rgb(39, 51, 132);
/* oklch */ color: oklch(36.4% 0.136 271.5);
Tailwind
colors: {
  custom: {
    50: '#6e6aa8',
    500: '#273384',
    950: '#000000',
  },
}
SCSS
$custom: #273384;
$custom-light: #6e6aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#273384",
  "rgb": {
    "r": 39,
    "g": 51,
    "b": 132
  },
  "hsl": {
    "h": 232.258,
    "s": 54.386,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36404,
    "c": 0.13567,
    "h": 271.5
  },
  "luminance": 0.04465
}

Semantic roles & 50–950 ramp

primary
#273384
secondary
#B2A654
accent
#CB4ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #273384

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

Preview Lab → · Contrast checker → · Palette generator →

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