#274DAE#274DAE

#274DAE is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.3% C 0.161 H 264.6°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#274DAE
RGBrgb(39, 77, 174)
HSLhsl(223, 63%, 42%)
HSVhsv(223, 78%, 68%)
CMYKcmyk(77.6%, 55.7%, 0%, 31.8%)
CIE-LABlab(35.58, 22.26, -55.66)
CIE-LCHlch(35.58, 59.94, 291.80°)
OKLaboklab(45.27% -0.0153 -0.1605)
OKLCHoklch(45.27% 0.161 264.6)
XYZxyz(11.1279, 8.7938, 41.1471)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274DAE #AE8827
analogous
#2791AE #274DAE #4527AE
triadic
#274DAE #AE274D #4DAE27
tetradic
#274DAE #AE2791 #AE8827 #27AE45
square
#274DAE #AE2791 #AE8827 #27AE45
split-complementary
#274DAE #AE4527 #91AE27
monochromatic
#11214A #1C377C #274DAE #3E68D4 #7090DF

Accessibility & contrast

On white

7.61
#274DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#274DAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274DAE
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274DAE#FFFFFF#000000##FFFFFF
##274DAE1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #274dae;
/* rgb */ color: rgb(39, 77, 174);
/* oklch */ color: oklch(45.3% 0.161 264.6);
Tailwind
colors: {
  custom: {
    50: '#767ec7',
    500: '#274dae',
    950: '#000000',
  },
}
SCSS
$custom: #274dae;
$custom-light: #767ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#274dae",
  "rgb": {
    "r": 39,
    "g": 77,
    "b": 174
  },
  "hsl": {
    "h": 223.111,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45272,
    "c": 0.16127,
    "h": 264.6
  },
  "luminance": 0.08795
}

Semantic roles & 50–950 ramp

primary
#274DAE
secondary
#C6AC6B
accent
#B841E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #274DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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