#274ABA#274ABA

#274ABA is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.7% C 0.181 H 266.0°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#274ABA
RGBrgb(39, 74, 186)
HSLhsl(226, 65%, 44%)
HSVhsv(226, 79%, 73%)
CMYKcmyk(79%, 60.2%, 0%, 27.1%)
CIE-LABlab(35.74, 28.83, -62.50)
CIE-LCHlch(35.74, 68.83, 294.76°)
OKLaboklab(45.68% -0.0127 -0.1807)
OKLCHoklch(45.68% 0.181 266)
XYZxyz(12.1453, 8.8727, 47.5173)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274ABA #BA9727
analogous
#2794BA #274ABA #4E27BA
triadic
#274ABA #BA274A #4ABA27
tetradic
#274ABA #BA2794 #BA9727 #27BA4E
square
#274ABA #BA2794 #BA9727 #27BA4E
split-complementary
#274ABA #BA4E27 #94BA27
monochromatic
#122255 #1C3687 #274ABA #4669D8 #7992E3

Accessibility & contrast

On white

7.57
#274ABA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#274ABA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274ABA
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274ABA#FFFFFF#000000##FFFFFF
##274ABA1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#004DB8
Tritanopia (blue-blind)
#00677B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #274aba;
/* rgb */ color: rgb(39, 74, 186);
/* oklch */ color: oklch(45.7% 0.181 266.0);
Tailwind
colors: {
  custom: {
    50: '#797cd0',
    500: '#274aba',
    950: '#000000',
  },
}
SCSS
$custom: #274aba;
$custom-light: #797cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#274aba",
  "rgb": {
    "r": 39,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 225.714,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45685,
    "c": 0.18113,
    "h": 266
  },
  "luminance": 0.08874
}

Semantic roles & 50–950 ramp

primary
#274ABA
secondary
#CBB672
accent
#C040E8
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #274ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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