#274BB2#274BB2

#274BB2 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.2% C 0.169 H 265.4°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#274BB2
RGBrgb(39, 75, 178)
HSLhsl(224, 64%, 43%)
HSVhsv(224, 78%, 70%)
CMYKcmyk(78.1%, 57.9%, 0%, 30.2%)
CIE-LABlab(35.35, 25.13, -58.40)
CIE-LCHlch(35.35, 63.58, 293.28°)
OKLaboklab(45.2% -0.0136 -0.1686)
OKLCHoklch(45.2% 0.169 265.4)
XYZxyz(11.3858, 8.6765, 43.1855)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274BB2 #B28E27
analogous
#2791B2 #274BB2 #4827B2
triadic
#274BB2 #B2274B #4BB227
tetradic
#274BB2 #B22791 #B28E27 #27B248
square
#274BB2 #B22791 #B28E27 #27B248
split-complementary
#274BB2 #B24827 #91B227
monochromatic
#11214E #1C3680 #274BB2 #4167D5 #738FE0

Accessibility & contrast

On white

7.68
#274BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#274BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274BB2
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274BB2#FFFFFF#000000##FFFFFF
##274BB21.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB5
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #274bb2;
/* rgb */ color: rgb(39, 75, 178);
/* oklch */ color: oklch(45.2% 0.169 265.4);
Tailwind
colors: {
  custom: {
    50: '#777cca',
    500: '#274bb2',
    950: '#000000',
  },
}
SCSS
$custom: #274bb2;
$custom-light: #777cca;
$custom-dark: #000000;
JSON
{
  "hex": "#274bb2",
  "rgb": {
    "r": 39,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 224.46,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45196,
    "c": 0.16919,
    "h": 265.4
  },
  "luminance": 0.08678
}

Semantic roles & 50–950 ramp

primary
#274BB2
secondary
#C8B06D
accent
#BC41E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #274BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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