#273F96#273F96

#273F96 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.146 H 267.6°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#273F96
RGBrgb(39, 63, 150)
HSLhsl(227, 59%, 37%)
HSVhsv(227, 74%, 59%)
CMYKcmyk(74%, 58%, 0%, 41.2%)
CIE-LABlab(29.88, 22.43, -50.48)
CIE-LCHlch(29.88, 55.24, 293.96°)
OKLaboklab(40.39% -0.006 -0.1455)
OKLCHoklch(40.39% 0.146 267.6)
XYZxyz(8.1173, 6.1875, 29.6148)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273F96 #967E27
analogous
#277796 #273F96 #472796
triadic
#273F96 #96273F #3F9627
tetradic
#273F96 #962777 #967E27 #279647
square
#273F96 #962777 #967E27 #279647
split-complementary
#273F96 #964727 #779627
monochromatic
#0E1635 #1A2B65 #273F96 #3453C7 #617BD6

Accessibility & contrast

On white

9.39
#273F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#273F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273F96
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273F96#FFFFFF#000000##FFFFFF
##273F961.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#004194
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #273f96;
/* rgb */ color: rgb(39, 63, 150);
/* oklch */ color: oklch(40.4% 0.146 267.6);
Tailwind
colors: {
  custom: {
    50: '#7173b6',
    500: '#273f96',
    950: '#000000',
  },
}
SCSS
$custom: #273f96;
$custom-light: #7173b6;
$custom-dark: #000000;
JSON
{
  "hex": "#273f96",
  "rgb": {
    "r": 39,
    "g": 63,
    "b": 150
  },
  "hsl": {
    "h": 227.027,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40394,
    "c": 0.14566,
    "h": 267.6
  },
  "luminance": 0.06188
}

Semantic roles & 50–950 ramp

primary
#273F96
secondary
#BCA75D
accent
#C046E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #273F96

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

Preview Lab → · Contrast checker → · Palette generator →

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