#274EAB#274EAB

#274EAB is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.2% C 0.156 H 264.0°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#274EAB
RGBrgb(39, 78, 171)
HSLhsl(222, 63%, 41%)
HSVhsv(222, 77%, 67%)
CMYKcmyk(77.2%, 54.4%, 0%, 32.9%)
CIE-LABlab(35.63, 20.43, -53.79)
CIE-LCHlch(35.63, 57.54, 290.80°)
OKLaboklab(45.24% -0.0163 -0.155)
OKLCHoklch(45.24% 0.156 264)
XYZxyz(10.9092, 8.8192, 39.6475)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274EAB #AB8427
analogous
#2790AB #274EAB #4227AB
triadic
#274EAB #AB274E #4EAB27
tetradic
#274EAB #AB2790 #AB8427 #27AB42
square
#274EAB #AB2790 #AB8427 #27AB42
split-complementary
#274EAB #AB4227 #90AB27
monochromatic
#102147 #1C3779 #274EAB #3D69D3 #6E8FDE

Accessibility & contrast

On white

7.60
#274EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#274EAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274EAB
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274EAB#FFFFFF#000000##FFFFFF
##274EAB1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAE
Deuteranopia (green-blind)
#004EA9
Tritanopia (blue-blind)
#006575
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #274eab;
/* rgb */ color: rgb(39, 78, 171);
/* oklch */ color: oklch(45.2% 0.156 264.0);
Tailwind
colors: {
  custom: {
    50: '#757fc5',
    500: '#274eab',
    950: '#000000',
  },
}
SCSS
$custom: #274eab;
$custom-light: #757fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#274eab",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 171
  },
  "hsl": {
    "h": 222.273,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45238,
    "c": 0.15589,
    "h": 264
  },
  "luminance": 0.0882
}

Semantic roles & 50–950 ramp

primary
#274EAB
secondary
#C5AA69
accent
#B542E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #274EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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