#274CC2#274CC2

#274CC2 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.8% C 0.189 H 265.8°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#274CC2
RGBrgb(39, 76, 194)
HSLhsl(226, 67%, 46%)
HSVhsv(226, 80%, 76%)
CMYKcmyk(79.9%, 60.8%, 0%, 23.9%)
CIE-LABlab(36.92, 30.54, -65.26)
CIE-LCHlch(36.92, 72.05, 295.08°)
OKLaboklab(46.77% -0.0138 -0.1887)
OKLCHoklch(46.77% 0.189 265.8)
XYZxyz(13.1553, 9.4937, 52.1676)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274CC2 #C29D27
analogous
#279AC2 #274CC2 #4F27C2
triadic
#274CC2 #C2274C #4CC227
tetradic
#274CC2 #C2279A #C29D27 #27C24F
square
#274CC2 #C2279A #C29D27 #27C24F
split-complementary
#274CC2 #C24F27 #9AC227
monochromatic
#13245C #1D388F #274CC2 #4B6EDB #7E97E5

Accessibility & contrast

On white

7.24
#274CC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#274CC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274CC2
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274CC2#FFFFFF#000000##FFFFFF
##274CC21.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#0050C0
Tritanopia (blue-blind)
#006A7F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #274cc2;
/* rgb */ color: rgb(39, 76, 194);
/* oklch */ color: oklch(46.8% 0.189 265.8);
Tailwind
colors: {
  custom: {
    50: '#7b7dd5',
    500: '#274cc2',
    950: '#000000',
  },
}
SCSS
$custom: #274cc2;
$custom-light: #7b7dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#274cc2",
  "rgb": {
    "r": 39,
    "g": 76,
    "b": 194
  },
  "hsl": {
    "h": 225.677,
    "s": 66.524,
    "l": 45.686
  },
  "oklch": {
    "l": 0.4677,
    "c": 0.18926,
    "h": 265.8
  },
  "luminance": 0.09495
}

Semantic roles & 50–950 ramp

primary
#274CC2
secondary
#CEB977
accent
#C13EE9
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #274CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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