#274CBA#274CBA

#274CBA is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.1% C 0.179 H 265.5°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#274CBA
RGBrgb(39, 76, 186)
HSLhsl(225, 65%, 44%)
HSVhsv(225, 79%, 73%)
CMYKcmyk(79%, 59.1%, 0%, 27.1%)
CIE-LABlab(36.26, 27.52, -61.65)
CIE-LCHlch(36.26, 67.51, 294.05°)
OKLaboklab(46.08% -0.014 -0.1781)
OKLCHoklch(46.08% 0.179 265.5)
XYZxyz(12.2809, 9.1440, 47.5626)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274CBA #BA9527
analogous
#2796BA #274CBA #4C27BA
triadic
#274CBA #BA274C #4CBA27
tetradic
#274CBA #BA2796 #BA9527 #27BA4C
square
#274CBA #BA2796 #BA9527 #27BA4C
split-complementary
#274CBA #BA4C27 #96BA27
monochromatic
#122355 #1C3787 #274CBA #466BD8 #7993E3

Accessibility & contrast

On white

7.42
#274CBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#274CBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274CBA
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274CBA#FFFFFF#000000##FFFFFF
##274CBA1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#004FB8
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #274cba;
/* rgb */ color: rgb(39, 76, 186);
/* oklch */ color: oklch(46.1% 0.179 265.5);
Tailwind
colors: {
  custom: {
    50: '#797dd0',
    500: '#274cba',
    950: '#000000',
  },
}
SCSS
$custom: #274cba;
$custom-light: #797dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#274cba",
  "rgb": {
    "r": 39,
    "g": 76,
    "b": 186
  },
  "hsl": {
    "h": 224.898,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46075,
    "c": 0.1787,
    "h": 265.5
  },
  "luminance": 0.09145
}

Semantic roles & 50–950 ramp

primary
#274CBA
secondary
#CBB472
accent
#BE40E8
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #274CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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