#273994#273994

#273994 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.0% C 0.151 H 269.5°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#273994
RGBrgb(39, 57, 148)
HSLhsl(230, 58%, 37%)
HSVhsv(230, 74%, 58%)
CMYKcmyk(73.6%, 61.5%, 0%, 42%)
CIE-LABlab(28.10, 25.73, -52.15)
CIE-LCHlch(28.10, 58.15, 296.26°)
OKLaboklab(39.02% -0.0014 -0.1505)
OKLCHoklch(39.02% 0.151 269.5)
XYZxyz(7.6433, 5.4949, 28.6690)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273994 #948227
analogous
#277094 #273994 #4C2794
triadic
#273994 #942739 #399427
tetradic
#273994 #942770 #948227 #27944C
square
#273994 #942770 #948227 #27944C
split-complementary
#273994 #944C27 #709427
monochromatic
#0D1433 #1A2664 #273994 #344CC4 #6074D5

Accessibility & contrast

On white

10.00
#273994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#273994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273994
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273994#FFFFFF#000000##FFFFFF
##2739941.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004797
Deuteranopia (green-blind)
#003D92
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #273994;
/* rgb */ color: rgb(39, 57, 148);
/* oklch */ color: oklch(39.0% 0.151 269.5);
Tailwind
colors: {
  custom: {
    50: '#716fb4',
    500: '#273994',
    950: '#000000',
  },
}
SCSS
$custom: #273994;
$custom-light: #716fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#273994",
  "rgb": {
    "r": 39,
    "g": 57,
    "b": 148
  },
  "hsl": {
    "h": 230.092,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39015,
    "c": 0.15055,
    "h": 269.5
  },
  "luminance": 0.05496
}

Semantic roles & 50–950 ramp

primary
#273994
secondary
#BBAB5C
accent
#C846E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #273994

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

Preview Lab → · Contrast checker → · Palette generator →

#273994 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva