#274ABB#274ABB

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

Color values

HEX#274ABB
RGBrgb(39, 74, 187)
HSLhsl(226, 65%, 44%)
HSVhsv(226, 79%, 73%)
CMYKcmyk(79.1%, 60.4%, 0%, 26.7%)
CIE-LABlab(35.82, 29.21, -62.95)
CIE-LCHlch(35.82, 69.40, 294.89°)
OKLaboklab(45.77% -0.0127 -0.182)
OKLCHoklch(45.77% 0.182 266)
XYZxyz(12.2520, 8.9153, 48.0792)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274ABB #BB9827
analogous
#2794BB #274ABB #4E27BB
triadic
#274ABB #BB274A #4ABB27
tetradic
#274ABB #BB2794 #BB9827 #27BB4E
square
#274ABB #BB2794 #BB9827 #27BB4E
split-complementary
#274ABB #BB4E27 #94BB27
monochromatic
#122256 #1C3688 #274ABB #4769D9 #7992E3

Accessibility & contrast

On white

7.54
#274ABB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#274ABB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274ABB
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274ABB#FFFFFF#000000##FFFFFF
##274ABB1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #274abb;
/* rgb */ color: rgb(39, 74, 187);
/* oklch */ color: oklch(45.8% 0.182 266.0);
Tailwind
colors: {
  custom: {
    50: '#797cd0',
    500: '#274abb',
    950: '#000000',
  },
}
SCSS
$custom: #274abb;
$custom-light: #797cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#274abb",
  "rgb": {
    "r": 39,
    "g": 74,
    "b": 187
  },
  "hsl": {
    "h": 225.811,
    "s": 65.487,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45773,
    "c": 0.18244,
    "h": 266
  },
  "luminance": 0.08917
}

Semantic roles & 50–950 ramp

primary
#274ABB
secondary
#CBB673
accent
#C03FE8
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #274ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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