#274BB6#274BB6

#274BB6 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.5% C 0.175 H 265.6°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#274BB6
RGBrgb(39, 75, 182)
HSLhsl(225, 65%, 43%)
HSVhsv(225, 79%, 71%)
CMYKcmyk(78.6%, 58.8%, 0%, 28.6%)
CIE-LABlab(35.67, 26.65, -60.25)
CIE-LCHlch(35.67, 65.88, 293.86°)
OKLaboklab(45.54% -0.0135 -0.174)
OKLCHoklch(45.54% 0.175 265.6)
XYZxyz(11.7933, 8.8395, 45.3315)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274BB6 #B69227
analogous
#2792B6 #274BB6 #4A27B6
triadic
#274BB6 #B6274B #4BB627
tetradic
#274BB6 #B62792 #B69227 #27B64A
square
#274BB6 #B62792 #B69227 #27B64A
split-complementary
#274BB6 #B64A27 #92B627
monochromatic
#112151 #1C3684 #274BB6 #4369D7 #7691E2

Accessibility & contrast

On white

7.59
#274BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#274BB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274BB6
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274BB6#FFFFFF#000000##FFFFFF
##274BB61.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBA
Deuteranopia (green-blind)
#004DB4
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #274bb6;
/* rgb */ color: rgb(39, 75, 182);
/* oklch */ color: oklch(45.5% 0.175 265.6);
Tailwind
colors: {
  custom: {
    50: '#787ccd',
    500: '#274bb6',
    950: '#000000',
  },
}
SCSS
$custom: #274bb6;
$custom-light: #787ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#274bb6",
  "rgb": {
    "r": 39,
    "g": 75,
    "b": 182
  },
  "hsl": {
    "h": 224.895,
    "s": 64.706,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45535,
    "c": 0.17457,
    "h": 265.6
  },
  "luminance": 0.08841
}

Semantic roles & 50–950 ramp

primary
#274BB6
secondary
#C9B370
accent
#BE40E8
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #274BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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