#273F95#273F95

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

Color values

HEX#273F95
RGBrgb(39, 63, 149)
HSLhsl(227, 59%, 37%)
HSVhsv(227, 74%, 58%)
CMYKcmyk(73.8%, 57.7%, 0%, 41.6%)
CIE-LABlab(29.80, 22.04, -50.00)
CIE-LCHlch(29.80, 54.64, 293.79°)
OKLaboklab(40.31% -0.0061 -0.1441)
OKLCHoklch(40.31% 0.144 267.6)
XYZxyz(8.0371, 6.1554, 29.1925)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273F95 #957D27
analogous
#277695 #273F95 #462795
triadic
#273F95 #95273F #3F9527
tetradic
#273F95 #952776 #957D27 #279546
square
#273F95 #952776 #957D27 #279546
split-complementary
#273F95 #954627 #769527
monochromatic
#0E1634 #1A2A64 #273F95 #3454C6 #617AD6

Accessibility & contrast

On white

9.41
#273F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#273F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273F95
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273F95#FFFFFF#000000##FFFFFF
##273F951.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#004193
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #273f95;
/* rgb */ color: rgb(39, 63, 149);
/* oklch */ color: oklch(40.3% 0.144 267.6);
Tailwind
colors: {
  custom: {
    50: '#7173b5',
    500: '#273f95',
    950: '#000000',
  },
}
SCSS
$custom: #273f95;
$custom-light: #7173b5;
$custom-dark: #000000;
JSON
{
  "hex": "#273f95",
  "rgb": {
    "r": 39,
    "g": 63,
    "b": 149
  },
  "hsl": {
    "h": 226.909,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40309,
    "c": 0.14425,
    "h": 267.6
  },
  "luminance": 0.06156
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #273F95

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

Preview Lab → · Contrast checker → · Palette generator →

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