#273F99#273F99

#273F99 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.150 H 267.7°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#273F99
RGBrgb(39, 63, 153)
HSLhsl(227, 59%, 38%)
HSVhsv(227, 75%, 60%)
CMYKcmyk(74.5%, 58.8%, 0%, 40%)
CIE-LABlab(30.12, 23.58, -51.92)
CIE-LCHlch(30.12, 57.02, 294.43°)
OKLaboklab(40.65% -0.0059 -0.1498)
OKLCHoklch(40.65% 0.15 267.7)
XYZxyz(8.3620, 6.2854, 30.9033)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273F99 #998127
analogous
#277899 #273F99 #482799
triadic
#273F99 #99273F #3F9927
tetradic
#273F99 #992778 #998127 #279948
square
#273F99 #992778 #998127 #279948
split-complementary
#273F99 #994827 #789927
monochromatic
#0E1737 #1B2B68 #273F99 #3353CA #637CD7

Accessibility & contrast

On white

9.30
#273F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#273F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273F99
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273F99#FFFFFF#000000##FFFFFF
##273F991.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#004297
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #273f99;
/* rgb */ color: rgb(39, 63, 153);
/* oklch */ color: oklch(40.6% 0.150 267.7);
Tailwind
colors: {
  custom: {
    50: '#7273b8',
    500: '#273f99',
    950: '#000000',
  },
}
SCSS
$custom: #273f99;
$custom-light: #7273b8;
$custom-dark: #000000;
JSON
{
  "hex": "#273f99",
  "rgb": {
    "r": 39,
    "g": 63,
    "b": 153
  },
  "hsl": {
    "h": 227.368,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40649,
    "c": 0.14988,
    "h": 267.7
  },
  "luminance": 0.06286
}

Semantic roles & 50–950 ramp

primary
#273F99
secondary
#BDA95F
accent
#C145E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #273F99

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

Preview Lab → · Contrast checker → · Palette generator →

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