#273185#273185

#273185 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.140 H 272.1°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#273185
RGBrgb(39, 49, 133)
HSLhsl(234, 55%, 34%)
HSVhsv(234, 71%, 52%)
CMYKcmyk(70.7%, 63.2%, 0%, 47.8%)
CIE-LABlab(24.70, 25.47, -48.40)
CIE-LCHlch(24.70, 54.69, 297.75°)
OKLaboklab(36.1% 0.0052 -0.1396)
OKLCHoklch(36.1% 0.14 272.1)
XYZxyz(6.1672, 4.3208, 22.6947)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273185 #857B27
analogous
#276085 #273185 #4C2785
triadic
#273185 #852731 #318527
tetradic
#273185 #852760 #857B27 #27854C
square
#273185 #852760 #857B27 #27854C
split-complementary
#273185 #854C27 #608527
monochromatic
#0B0E26 #192056 #273185 #3542B4 #5865CE

Accessibility & contrast

On white

11.26
#273185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#273185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273185
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273185#FFFFFF#000000##FFFFFF
##2731851.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#003683
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #273185;
/* rgb */ color: rgb(39, 49, 133);
/* oklch */ color: oklch(36.1% 0.140 272.1);
Tailwind
colors: {
  custom: {
    50: '#6e69a9',
    500: '#273185',
    950: '#000000',
  },
}
SCSS
$custom: #273185;
$custom-light: #6e69a9;
$custom-dark: #000000;
JSON
{
  "hex": "#273185",
  "rgb": {
    "r": 39,
    "g": 49,
    "b": 133
  },
  "hsl": {
    "h": 233.617,
    "s": 54.651,
    "l": 33.725
  },
  "oklch": {
    "l": 0.361,
    "c": 0.13971,
    "h": 272.1
  },
  "luminance": 0.04321
}

Semantic roles & 50–950 ramp

primary
#273185
secondary
#B3A955
accent
#CE4ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #273185

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

Preview Lab → · Contrast checker → · Palette generator →

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