#274CAE#274CAE

#274CAE is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.1% C 0.163 H 264.9°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#274CAE
RGBrgb(39, 76, 174)
HSLhsl(224, 63%, 42%)
HSVhsv(224, 78%, 68%)
CMYKcmyk(77.6%, 56.3%, 0%, 31.8%)
CIE-LABlab(35.31, 22.92, -56.10)
CIE-LCHlch(35.31, 60.60, 292.23°)
OKLaboklab(45.07% -0.0146 -0.1619)
OKLCHoklch(45.07% 0.163 264.9)
XYZxyz(11.0584, 8.6550, 41.1239)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274CAE #AE8927
analogous
#278FAE #274CAE #4627AE
triadic
#274CAE #AE274C #4CAE27
tetradic
#274CAE #AE278F #AE8927 #27AE46
square
#274CAE #AE278F #AE8927 #27AE46
split-complementary
#274CAE #AE4627 #8FAE27
monochromatic
#11204A #1C367C #274CAE #3E67D4 #708FDF

Accessibility & contrast

On white

7.69
#274CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#274CAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274CAE
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274CAE#FFFFFF#000000##FFFFFF
##274CAE1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#006475
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #274cae;
/* rgb */ color: rgb(39, 76, 174);
/* oklch */ color: oklch(45.1% 0.163 264.9);
Tailwind
colors: {
  custom: {
    50: '#767dc7',
    500: '#274cae',
    950: '#000000',
  },
}
SCSS
$custom: #274cae;
$custom-light: #767dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#274cae",
  "rgb": {
    "r": 39,
    "g": 76,
    "b": 174
  },
  "hsl": {
    "h": 223.556,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45066,
    "c": 0.16251,
    "h": 264.9
  },
  "luminance": 0.08656
}

Semantic roles & 50–950 ramp

primary
#274CAE
secondary
#C6AD6B
accent
#B941E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #274CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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