#274ABD#274ABD

#274ABD is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.9% C 0.185 H 266.1°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#274ABD
RGBrgb(39, 74, 189)
HSLhsl(226, 66%, 45%)
HSVhsv(226, 79%, 74%)
CMYKcmyk(79.4%, 60.8%, 0%, 25.9%)
CIE-LABlab(35.99, 29.97, -63.85)
CIE-LCHlch(35.99, 70.54, 295.14°)
OKLaboklab(45.95% -0.0127 -0.1846)
OKLCHoklch(45.95% 0.185 266.1)
XYZxyz(12.4676, 9.0016, 49.2146)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274ABD #BD9A27
analogous
#2795BD #274ABD #4F27BD
triadic
#274ABD #BD274A #4ABD27
tetradic
#274ABD #BD2795 #BD9A27 #27BD4F
square
#274ABD #BD2795 #BD9A27 #27BD4F
split-complementary
#274ABD #BD4F27 #95BD27
monochromatic
#122258 #1D368A #274ABD #486AD9 #7B93E4

Accessibility & contrast

On white

7.50
#274ABD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274ABD
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274ABD#FFFFFF#000000##FFFFFF
##274ABD1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#004EBB
Tritanopia (blue-blind)
#00687C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #274abd;
/* rgb */ color: rgb(39, 74, 189);
/* oklch */ color: oklch(45.9% 0.185 266.1);
Tailwind
colors: {
  custom: {
    50: '#7a7cd2',
    500: '#274abd',
    950: '#000000',
  },
}
SCSS
$custom: #274abd;
$custom-light: #7a7cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#274abd",
  "rgb": {
    "r": 39,
    "g": 74,
    "b": 189
  },
  "hsl": {
    "h": 226,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45948,
    "c": 0.18509,
    "h": 266.1
  },
  "luminance": 0.09003
}

Semantic roles & 50–950 ramp

primary
#274ABD
secondary
#CCB774
accent
#C13FE9
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #274ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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