#273094#273094

#273094 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.162 H 271.8°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#273094
RGBrgb(39, 48, 148)
HSLhsl(235, 58%, 37%)
HSVhsv(235, 74%, 58%)
CMYKcmyk(73.6%, 67.6%, 0%, 42%)
CIE-LABlab(25.81, 31.70, -55.90)
CIE-LCHlch(25.81, 64.26, 299.56°)
OKLaboklab(37.33% 0.005 -0.1616)
OKLCHoklch(37.33% 0.162 271.8)
XYZxyz(7.2371, 4.6826, 28.5337)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273094 #948B27
analogous
#276794 #273094 #552794
triadic
#273094 #942730 #309427
tetradic
#273094 #942767 #948B27 #279455
square
#273094 #942767 #948B27 #279455
split-complementary
#273094 #945527 #679427
monochromatic
#0D1133 #1A2064 #273094 #3440C4 #606AD5

Accessibility & contrast

On white

10.84
#273094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#273094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273094
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273094#FFFFFF#000000##FFFFFF
##2730941.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004297
Deuteranopia (green-blind)
#003892
Tritanopia (blue-blind)
#004B5D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #273094;
/* rgb */ color: rgb(39, 48, 148);
/* oklch */ color: oklch(37.3% 0.162 271.8);
Tailwind
colors: {
  custom: {
    50: '#7268b4',
    500: '#273094',
    950: '#000000',
  },
}
SCSS
$custom: #273094;
$custom-light: #7268b4;
$custom-dark: #000000;
JSON
{
  "hex": "#273094",
  "rgb": {
    "r": 39,
    "g": 48,
    "b": 148
  },
  "hsl": {
    "h": 235.046,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.3733,
    "c": 0.16167,
    "h": 271.8
  },
  "luminance": 0.04683
}

Semantic roles & 50–950 ramp

primary
#273094
secondary
#BBB35C
accent
#D546E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #273094

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

Preview Lab → · Contrast checker → · Palette generator →

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