#274EBC#274EBC

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

Color values

HEX#274EBC
RGBrgb(39, 78, 188)
HSLhsl(224, 66%, 45%)
HSVhsv(224, 79%, 74%)
CMYKcmyk(79.3%, 58.5%, 0%, 26.3%)
CIE-LABlab(36.95, 26.96, -61.70)
CIE-LCHlch(36.95, 67.33, 293.60°)
OKLaboklab(46.64% -0.0152 -0.1783)
OKLCHoklch(46.64% 0.179 265.1)
XYZxyz(12.6350, 9.5095, 48.7368)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274EBC #BC9527
analogous
#2799BC #274EBC #4A27BC
triadic
#274EBC #BC274E #4EBC27
tetradic
#274EBC #BC2799 #BC9527 #27BC4A
square
#274EBC #BC2799 #BC9527 #27BC4A
split-complementary
#274EBC #BC4A27 #99BC27
monochromatic
#122457 #1C3989 #274EBC #476DD9 #7A96E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##274EBC#FFFFFF#000000##FFFFFF
##274EBC1.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)
#005EC0
Deuteranopia (green-blind)
#0050BA
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #274ebc;
/* rgb */ color: rgb(39, 78, 188);
/* oklch */ color: oklch(46.6% 0.179 265.1);
Tailwind
colors: {
  custom: {
    50: '#797fd1',
    500: '#274ebc',
    950: '#000000',
  },
}
SCSS
$custom: #274ebc;
$custom-light: #797fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#274ebc",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 188
  },
  "hsl": {
    "h": 224.295,
    "s": 65.639,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4664,
    "c": 0.17892,
    "h": 265.1
  },
  "luminance": 0.09511
}

Semantic roles & 50–950 ramp

primary
#274EBC
secondary
#CBB473
accent
#BC3FE9
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #274EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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