#274EBA#274EBA

#274EBA is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.5% C 0.176 H 265.0°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#274EBA
RGBrgb(39, 78, 186)
HSLhsl(224, 65%, 44%)
HSVhsv(224, 79%, 73%)
CMYKcmyk(79%, 58.1%, 0%, 27.1%)
CIE-LABlab(36.79, 26.20, -60.79)
CIE-LCHlch(36.79, 66.19, 293.32°)
OKLaboklab(46.47% -0.0153 -0.1756)
OKLCHoklch(46.47% 0.176 265)
XYZxyz(12.4209, 9.4238, 47.6092)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274EBA #BA9327
analogous
#2798BA #274EBA #4A27BA
triadic
#274EBA #BA274E #4EBA27
tetradic
#274EBA #BA2798 #BA9327 #27BA4A
square
#274EBA #BA2798 #BA9327 #27BA4A
split-complementary
#274EBA #BA4A27 #98BA27
monochromatic
#122455 #1C3987 #274EBA #466DD8 #7995E3

Accessibility & contrast

On white

7.28
#274EBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#274EBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274EBA
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274EBA#FFFFFF#000000##FFFFFF
##274EBA1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#0050B8
Tritanopia (blue-blind)
#00697C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #274eba;
/* rgb */ color: rgb(39, 78, 186);
/* oklch */ color: oklch(46.5% 0.176 265.0);
Tailwind
colors: {
  custom: {
    50: '#797fd0',
    500: '#274eba',
    950: '#000000',
  },
}
SCSS
$custom: #274eba;
$custom-light: #797fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#274eba",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 186
  },
  "hsl": {
    "h": 224.082,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4647,
    "c": 0.17625,
    "h": 265
  },
  "luminance": 0.09425
}

Semantic roles & 50–950 ramp

primary
#274EBA
secondary
#CBB372
accent
#BC40E8
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #274EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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