#274EB0#274EB0

#274EB0 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.6% C 0.163 H 264.4°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#274EB0
RGBrgb(39, 78, 176)
HSLhsl(223, 64%, 42%)
HSVhsv(223, 78%, 69%)
CMYKcmyk(77.8%, 55.7%, 0%, 31%)
CIE-LABlab(36.01, 22.36, -56.15)
CIE-LCHlch(36.01, 60.44, 291.71°)
OKLaboklab(45.64% -0.0159 -0.162)
OKLCHoklch(45.64% 0.163 264.4)
XYZxyz(11.3948, 9.0134, 42.2051)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274EB0 #B08927
analogous
#2792B0 #274EB0 #4527B0
triadic
#274EB0 #B0274E #4EB027
tetradic
#274EB0 #B02792 #B08927 #27B045
square
#274EB0 #B02792 #B08927 #27B045
split-complementary
#274EB0 #B04527 #92B027
monochromatic
#11224C #1C387E #274EB0 #406AD5 #7291E0

Accessibility & contrast

On white

7.49
#274EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#274EB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274EB0
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274EB0#FFFFFF#000000##FFFFFF
##274EB01.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#004FAE
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #274eb0;
/* rgb */ color: rgb(39, 78, 176);
/* oklch */ color: oklch(45.6% 0.163 264.4);
Tailwind
colors: {
  custom: {
    50: '#767fc8',
    500: '#274eb0',
    950: '#000000',
  },
}
SCSS
$custom: #274eb0;
$custom-light: #767fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#274eb0",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 176
  },
  "hsl": {
    "h": 222.92,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45641,
    "c": 0.16275,
    "h": 264.4
  },
  "luminance": 0.09015
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #274EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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