#274AB1#274AB1

#274AB1 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.9% C 0.169 H 265.6°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#274AB1
RGBrgb(39, 74, 177)
HSLhsl(225, 64%, 42%)
HSVhsv(225, 78%, 69%)
CMYKcmyk(78%, 58.2%, 0%, 30.6%)
CIE-LABlab(35.01, 25.41, -58.38)
CIE-LCHlch(35.01, 63.67, 293.52°)
OKLaboklab(44.91% -0.013 -0.1686)
OKLCHoklch(44.91% 0.169 265.6)
XYZxyz(11.2185, 8.5019, 42.6362)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274AB1 #B18E27
analogous
#278FB1 #274AB1 #4927B1
triadic
#274AB1 #B1274A #4AB127
tetradic
#274AB1 #B1278F #B18E27 #27B149
square
#274AB1 #B1278F #B18E27 #27B149
split-complementary
#274AB1 #B14927 #8FB127
monochromatic
#11204D #1C357F #274AB1 #4066D5 #728EE0

Accessibility & contrast

On white

7.78
#274AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#274AB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274AB1
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274AB1#FFFFFF#000000##FFFFFF
##274AB11.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B4
Deuteranopia (green-blind)
#004CAF
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #274ab1;
/* rgb */ color: rgb(39, 74, 177);
/* oklch */ color: oklch(44.9% 0.169 265.6);
Tailwind
colors: {
  custom: {
    50: '#777cc9',
    500: '#274ab1',
    950: '#000000',
  },
}
SCSS
$custom: #274ab1;
$custom-light: #777cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#274ab1",
  "rgb": {
    "r": 39,
    "g": 74,
    "b": 177
  },
  "hsl": {
    "h": 224.783,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.44911,
    "c": 0.16907,
    "h": 265.6
  },
  "luminance": 0.08503
}

Semantic roles & 50–950 ramp

primary
#274AB1
secondary
#C7B06D
accent
#BD41E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #274AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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