#274CBD#274CBD

#274CBD is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.3% C 0.183 H 265.6°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#274CBD
RGBrgb(39, 76, 189)
HSLhsl(225, 66%, 45%)
HSVhsv(225, 79%, 74%)
CMYKcmyk(79.4%, 59.8%, 0%, 25.9%)
CIE-LABlab(36.50, 28.65, -63.01)
CIE-LCHlch(36.50, 69.22, 294.45°)
OKLaboklab(46.33% -0.0139 -0.1821)
OKLCHoklch(46.33% 0.183 265.6)
XYZxyz(12.6032, 9.2729, 49.2598)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274CBD #BD9827
analogous
#2797BD #274CBD #4D27BD
triadic
#274CBD #BD274C #4CBD27
tetradic
#274CBD #BD2797 #BD9827 #27BD4D
square
#274CBD #BD2797 #BD9827 #27BD4D
split-complementary
#274CBD #BD4D27 #97BD27
monochromatic
#122358 #1D388A #274CBD #486CD9 #7B95E4

Accessibility & contrast

On white

7.36
#274CBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#274CBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274CBD
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274CBD#FFFFFF#000000##FFFFFF
##274CBD1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#004FBB
Tritanopia (blue-blind)
#00697D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #274cbd;
/* rgb */ color: rgb(39, 76, 189);
/* oklch */ color: oklch(46.3% 0.183 265.6);
Tailwind
colors: {
  custom: {
    50: '#7a7dd2',
    500: '#274cbd',
    950: '#000000',
  },
}
SCSS
$custom: #274cbd;
$custom-light: #7a7dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#274cbd",
  "rgb": {
    "r": 39,
    "g": 76,
    "b": 189
  },
  "hsl": {
    "h": 225.2,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46334,
    "c": 0.18268,
    "h": 265.6
  },
  "luminance": 0.09274
}

Semantic roles & 50–950 ramp

primary
#274CBD
secondary
#CCB674
accent
#BF3FE9
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #274CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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