#274EB1#274EB1

#274EB1 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.7% C 0.164 H 264.5°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#274EB1
RGBrgb(39, 78, 177)
HSLhsl(223, 64%, 42%)
HSVhsv(223, 78%, 69%)
CMYKcmyk(78%, 55.9%, 0%, 30.6%)
CIE-LABlab(36.09, 22.75, -56.62)
CIE-LCHlch(36.09, 61.02, 291.89°)
OKLaboklab(45.72% -0.0158 -0.1633)
OKLCHoklch(45.72% 0.164 264.5)
XYZxyz(11.4941, 9.0531, 42.7281)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274EB1 #B18A27
analogous
#2793B1 #274EB1 #4527B1
triadic
#274EB1 #B1274E #4EB127
tetradic
#274EB1 #B12793 #B18A27 #27B145
square
#274EB1 #B12793 #B18A27 #27B145
split-complementary
#274EB1 #B14527 #93B127
monochromatic
#11224D #1C387F #274EB1 #406AD5 #7291E0

Accessibility & contrast

On white

7.47
#274EB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#274EB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274EB1
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274EB1#FFFFFF#000000##FFFFFF
##274EB11.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB4
Deuteranopia (green-blind)
#004FAF
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #274eb1;
/* rgb */ color: rgb(39, 78, 177);
/* oklch */ color: oklch(45.7% 0.164 264.5);
Tailwind
colors: {
  custom: {
    50: '#777fc9',
    500: '#274eb1',
    950: '#000000',
  },
}
SCSS
$custom: #274eb1;
$custom-light: #777fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#274eb1",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 177
  },
  "hsl": {
    "h": 223.043,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45723,
    "c": 0.16411,
    "h": 264.5
  },
  "luminance": 0.09054
}

Semantic roles & 50–950 ramp

primary
#274EB1
secondary
#C7AE6D
accent
#B841E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #274EB1

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

Preview Lab → · Contrast checker → · Palette generator →

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