#274FA4#274FA4

#274FA4 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.9% C 0.145 H 262.9°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#274FA4
RGBrgb(39, 79, 164)
HSLhsl(221, 62%, 40%)
HSVhsv(221, 76%, 64%)
CMYKcmyk(76.2%, 51.8%, 0%, 35.7%)
CIE-LABlab(35.41, 17.05, -49.99)
CIE-LCHlch(35.41, 52.81, 288.83°)
OKLaboklab(44.9% -0.0178 -0.1438)
OKLCHoklch(44.9% 0.145 262.9)
XYZxyz(10.3311, 8.7025, 36.2500)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274FA4 #A47C27
analogous
#278EA4 #274FA4 #3E27A4
triadic
#274FA4 #A4274F #4FA427
tetradic
#274FA4 #A4278E #A47C27 #27A43E
square
#274FA4 #A4278E #A47C27 #27A43E
split-complementary
#274FA4 #A43E27 #8EA427
monochromatic
#0F1F41 #1B3773 #274FA4 #3869D0 #6A8EDC

Accessibility & contrast

On white

7.66
#274FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#274FA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274FA4
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274FA4#FFFFFF#000000##FFFFFF
##274FA41.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1859A7
Deuteranopia (green-blind)
#004EA2
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #274fa4;
/* rgb */ color: rgb(39, 79, 164);
/* oklch */ color: oklch(44.9% 0.145 262.9);
Tailwind
colors: {
  custom: {
    50: '#747fc0',
    500: '#274fa4',
    950: '#000000',
  },
}
SCSS
$custom: #274fa4;
$custom-light: #747fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#274fa4",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 164
  },
  "hsl": {
    "h": 220.8,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44903,
    "c": 0.14492,
    "h": 262.9
  },
  "luminance": 0.08704
}

Semantic roles & 50–950 ramp

primary
#274FA4
secondary
#C2A465
accent
#B143E5
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #274FA4

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

Preview Lab → · Contrast checker → · Palette generator →

#274FA4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva