#274FA5#274FA5

#274FA5 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 45.0% C 0.146 H 263.1°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#274FA5
RGBrgb(39, 79, 165)
HSLhsl(221, 62%, 40%)
HSVhsv(221, 76%, 65%)
CMYKcmyk(76.4%, 52.1%, 0%, 35.3%)
CIE-LABlab(35.48, 17.44, -50.47)
CIE-LCHlch(35.48, 53.40, 289.06°)
OKLaboklab(44.98% -0.0177 -0.1452)
OKLCHoklch(44.98% 0.146 263.1)
XYZxyz(10.4218, 8.7387, 36.7275)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274FA5 #A57D27
analogous
#278EA5 #274FA5 #3E27A5
triadic
#274FA5 #A5274F #4FA527
tetradic
#274FA5 #A5278E #A57D27 #27A53E
square
#274FA5 #A5278E #A57D27 #27A53E
split-complementary
#274FA5 #A53E27 #8EA527
monochromatic
#102042 #1B3774 #274FA5 #3969D0 #6A8FDC

Accessibility & contrast

On white

7.64
#274FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#274FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274FA5
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274FA5#FFFFFF#000000##FFFFFF
##274FA51.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175AA8
Deuteranopia (green-blind)
#004EA3
Tritanopia (blue-blind)
#006472
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #274fa5;
/* rgb */ color: rgb(39, 79, 165);
/* oklch */ color: oklch(45.0% 0.146 263.1);
Tailwind
colors: {
  custom: {
    50: '#747fc0',
    500: '#274fa5',
    950: '#000000',
  },
}
SCSS
$custom: #274fa5;
$custom-light: #747fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#274fa5",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 165
  },
  "hsl": {
    "h": 220.952,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.4498,
    "c": 0.14631,
    "h": 263.1
  },
  "luminance": 0.0874
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #274FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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