#274194#274194

#274194 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.6% C 0.140 H 266.8°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#274194
RGBrgb(39, 65, 148)
HSLhsl(226, 58%, 37%)
HSVhsv(226, 74%, 58%)
CMYKcmyk(73.6%, 56.1%, 0%, 42%)
CIE-LABlab(30.28, 20.29, -48.61)
CIE-LCHlch(30.28, 52.68, 292.66°)
OKLaboklab(40.64% -0.0078 -0.14)
OKLCHoklch(40.64% 0.14 266.8)
XYZxyz(8.0704, 6.3492, 28.8114)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274194 #947A27
analogous
#277894 #274194 #442794
triadic
#274194 #942741 #419427
tetradic
#274194 #942778 #947A27 #279444
square
#274194 #942778 #947A27 #279444
split-complementary
#274194 #944427 #789427
monochromatic
#0D1633 #1A2C64 #274194 #3456C4 #607CD5

Accessibility & contrast

On white

9.25
#274194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#274194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274194
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274194#FFFFFF#000000##FFFFFF
##2741941.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D97
Deuteranopia (green-blind)
#004292
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #274194;
/* rgb */ color: rgb(39, 65, 148);
/* oklch */ color: oklch(40.6% 0.140 266.8);
Tailwind
colors: {
  custom: {
    50: '#7175b4',
    500: '#274194',
    950: '#000000',
  },
}
SCSS
$custom: #274194;
$custom-light: #7175b4;
$custom-dark: #000000;
JSON
{
  "hex": "#274194",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 148
  },
  "hsl": {
    "h": 225.688,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40642,
    "c": 0.14023,
    "h": 266.8
  },
  "luminance": 0.0635
}

Semantic roles & 50–950 ramp

primary
#274194
secondary
#BBA45C
accent
#BC46E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #274194

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

Preview Lab → · Contrast checker → · Palette generator →

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