#273F85#273F85

#273F85 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.0% C 0.121 H 266.5°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#273F85
RGBrgb(39, 63, 133)
HSLhsl(225, 55%, 34%)
HSVhsv(225, 71%, 52%)
CMYKcmyk(70.7%, 52.6%, 0%, 47.8%)
CIE-LABlab(28.59, 15.85, -42.10)
CIE-LCHlch(28.59, 44.98, 290.63°)
OKLaboklab(39.01% -0.0073 -0.1209)
OKLCHoklch(39.01% 0.121 266.5)
XYZxyz(6.8464, 5.6791, 22.9211)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273F85 #856D27
analogous
#276E85 #273F85 #3E2785
triadic
#273F85 #85273F #3F8527
tetradic
#273F85 #85276E #856D27 #27853E
square
#273F85 #85276E #856D27 #27853E
split-complementary
#273F85 #853E27 #6E8527
monochromatic
#0B1226 #192956 #273F85 #3555B4 #5876CE

Accessibility & contrast

On white

9.83
#273F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#273F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273F85
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273F85#FFFFFF#000000##FFFFFF
##273F851.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154888
Deuteranopia (green-blind)
#003F84
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #273f85;
/* rgb */ color: rgb(39, 63, 133);
/* oklch */ color: oklch(39.0% 0.121 266.5);
Tailwind
colors: {
  custom: {
    50: '#6d73a9',
    500: '#273f85',
    950: '#000000',
  },
}
SCSS
$custom: #273f85;
$custom-light: #6d73a9;
$custom-dark: #000000;
JSON
{
  "hex": "#273f85",
  "rgb": {
    "r": 39,
    "g": 63,
    "b": 133
  },
  "hsl": {
    "h": 224.681,
    "s": 54.651,
    "l": 33.725
  },
  "oklch": {
    "l": 0.3901,
    "c": 0.12111,
    "h": 266.5
  },
  "luminance": 0.0568
}

Semantic roles & 50–950 ramp

primary
#273F85
secondary
#B39B55
accent
#B84ADE
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #273F85

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

Preview Lab → · Contrast checker → · Palette generator →

#273F85 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva