#273285#273285

#273285 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.3% C 0.138 H 271.8°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#273285
RGBrgb(39, 50, 133)
HSLhsl(233, 55%, 34%)
HSVhsv(233, 71%, 52%)
CMYKcmyk(70.7%, 62.4%, 0%, 47.8%)
CIE-LABlab(24.97, 24.79, -47.97)
CIE-LCHlch(24.97, 54.00, 297.33°)
OKLaboklab(36.3% 0.0044 -0.1383)
OKLCHoklch(36.3% 0.138 271.8)
XYZxyz(6.2095, 4.4054, 22.7088)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273285 #857A27
analogous
#276185 #273285 #4B2785
triadic
#273285 #852732 #328527
tetradic
#273285 #852761 #857A27 #27854B
square
#273285 #852761 #857A27 #27854B
split-complementary
#273285 #854B27 #618527
monochromatic
#0B0E26 #192056 #273285 #3544B4 #5866CE

Accessibility & contrast

On white

11.16
#273285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#273285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273285
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273285#FFFFFF#000000##FFFFFF
##2732851.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004088
Deuteranopia (green-blind)
#003783
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #273285;
/* rgb */ color: rgb(39, 50, 133);
/* oklch */ color: oklch(36.3% 0.138 271.8);
Tailwind
colors: {
  custom: {
    50: '#6e69a9',
    500: '#273285',
    950: '#000000',
  },
}
SCSS
$custom: #273285;
$custom-light: #6e69a9;
$custom-dark: #000000;
JSON
{
  "hex": "#273285",
  "rgb": {
    "r": 39,
    "g": 50,
    "b": 133
  },
  "hsl": {
    "h": 232.979,
    "s": 54.651,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36296,
    "c": 0.13841,
    "h": 271.8
  },
  "luminance": 0.04406
}

Semantic roles & 50–950 ramp

primary
#273285
secondary
#B3A855
accent
#CD4ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #273285

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

Preview Lab → · Contrast checker → · Palette generator →

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