#274FBD#274FBD

#274FBD is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.9% C 0.179 H 264.9°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#274FBD
RGBrgb(39, 79, 189)
HSLhsl(224, 66%, 45%)
HSVhsv(224, 79%, 74%)
CMYKcmyk(79.4%, 58.2%, 0%, 25.9%)
CIE-LABlab(37.29, 26.68, -61.73)
CIE-LCHlch(37.29, 67.25, 293.38°)
OKLaboklab(46.92% -0.0158 -0.1783)
OKLCHoklch(46.92% 0.179 264.9)
XYZxyz(12.8147, 9.6959, 49.3304)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274FBD #BD9527
analogous
#279ABD #274FBD #4A27BD
triadic
#274FBD #BD274F #4FBD27
tetradic
#274FBD #BD279A #BD9527 #27BD4A
square
#274FBD #BD279A #BD9527 #27BD4A
split-complementary
#274FBD #BD4A27 #9ABD27
monochromatic
#122558 #1D3A8A #274FBD #486FD9 #7B97E4

Accessibility & contrast

On white

7.14
#274FBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#274FBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274FBD
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274FBD#FFFFFF#000000##FFFFFF
##274FBD1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#0051BB
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #274fbd;
/* rgb */ color: rgb(39, 79, 189);
/* oklch */ color: oklch(46.9% 0.179 264.9);
Tailwind
colors: {
  custom: {
    50: '#7a7fd2',
    500: '#274fbd',
    950: '#000000',
  },
}
SCSS
$custom: #274fbd;
$custom-light: #7a7fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#274fbd",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 189
  },
  "hsl": {
    "h": 224,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46922,
    "c": 0.17904,
    "h": 264.9
  },
  "luminance": 0.09697
}

Semantic roles & 50–950 ramp

primary
#274FBD
secondary
#CCB474
accent
#BB3FE9
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #274FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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