#274EC9#274EC9

#274EC9 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.8% C 0.196 H 265.6°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#274EC9
RGBrgb(39, 78, 201)
HSLhsl(226, 68%, 47%)
HSVhsv(226, 81%, 79%)
CMYKcmyk(80.6%, 61.2%, 0%, 21.2%)
CIE-LABlab(38.01, 31.87, -67.54)
CIE-LCHlch(38.01, 74.69, 295.26°)
OKLaboklab(47.77% -0.0149 -0.1954)
OKLCHoklch(47.77% 0.196 265.6)
XYZxyz(14.1000, 10.0955, 56.4525)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274EC9 #C9A227
analogous
#279FC9 #274EC9 #5127C9
triadic
#274EC9 #C9274E #4EC927
tetradic
#274EC9 #C9279F #C9A227 #27C951
square
#274EC9 #C9279F #C9A227 #27C951
split-complementary
#274EC9 #C95127 #9FC927
monochromatic
#132662 #1D3A96 #274EC9 #5072DD #839BE7

Accessibility & contrast

On white

6.96
#274EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#274EC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #274EC9
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274EC9#FFFFFF#000000##FFFFFF
##274EC91.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CD
Deuteranopia (green-blind)
#0052C7
Tritanopia (blue-blind)
#006E84
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #274ec9;
/* rgb */ color: rgb(39, 78, 201);
/* oklch */ color: oklch(47.8% 0.196 265.6);
Tailwind
colors: {
  custom: {
    50: '#7d7fda',
    500: '#274ec9',
    950: '#000000',
  },
}
SCSS
$custom: #274ec9;
$custom-light: #7d7fda;
$custom-dark: #000000;
JSON
{
  "hex": "#274ec9",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 201
  },
  "hsl": {
    "h": 225.556,
    "s": 67.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47766,
    "c": 0.19598,
    "h": 265.6
  },
  "luminance": 0.10097
}

Semantic roles & 50–950 ramp

primary
#274EC9
secondary
#D0BC7C
accent
#C13DEA
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0B0A15
muted
#7C7C83

Preview Lab

Preview with #274EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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