#273F94#273F94

#273F94 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.2% C 0.143 H 267.5°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#273F94
RGBrgb(39, 63, 148)
HSLhsl(227, 58%, 37%)
HSVhsv(227, 74%, 58%)
CMYKcmyk(73.6%, 57.4%, 0%, 42%)
CIE-LABlab(29.72, 21.66, -49.51)
CIE-LCHlch(29.72, 54.04, 293.62°)
OKLaboklab(40.23% -0.0061 -0.1427)
OKLCHoklch(40.23% 0.143 267.5)
XYZxyz(7.9576, 6.1236, 28.7738)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273F94 #947C27
analogous
#277694 #273F94 #462794
triadic
#273F94 #94273F #3F9427
tetradic
#273F94 #942776 #947C27 #279446
square
#273F94 #942776 #947C27 #279446
split-complementary
#273F94 #944627 #769427
monochromatic
#0D1633 #1A2A64 #273F94 #3454C4 #607AD5

Accessibility & contrast

On white

9.44
#273F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#273F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273F94
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273F94#FFFFFF#000000##FFFFFF
##273F941.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #273f94;
/* rgb */ color: rgb(39, 63, 148);
/* oklch */ color: oklch(40.2% 0.143 267.5);
Tailwind
colors: {
  custom: {
    50: '#7173b4',
    500: '#273f94',
    950: '#000000',
  },
}
SCSS
$custom: #273f94;
$custom-light: #7173b4;
$custom-dark: #000000;
JSON
{
  "hex": "#273f94",
  "rgb": {
    "r": 39,
    "g": 63,
    "b": 148
  },
  "hsl": {
    "h": 226.789,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40225,
    "c": 0.14283,
    "h": 267.5
  },
  "luminance": 0.06124
}

Semantic roles & 50–950 ramp

primary
#273F94
secondary
#BBA65C
accent
#BF46E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #273F94

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

Preview Lab → · Contrast checker → · Palette generator →

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