#274DB2#274DB2

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

Color values

HEX#274DB2
RGBrgb(39, 77, 178)
HSLhsl(224, 64%, 43%)
HSVhsv(224, 78%, 70%)
CMYKcmyk(78.1%, 56.7%, 0%, 30.2%)
CIE-LABlab(35.89, 23.80, -57.53)
CIE-LCHlch(35.89, 62.26, 292.47°)
OKLaboklab(45.6% -0.015 -0.166)
OKLCHoklch(45.6% 0.167 264.8)
XYZxyz(11.5236, 8.9521, 43.2314)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274DB2 #B28C27
analogous
#2793B2 #274DB2 #4627B2
triadic
#274DB2 #B2274D #4DB227
tetradic
#274DB2 #B22793 #B28C27 #27B246
square
#274DB2 #B22793 #B28C27 #27B246
split-complementary
#274DB2 #B24627 #93B227
monochromatic
#11224E #1C3780 #274DB2 #4169D5 #7391E0

Accessibility & contrast

On white

7.53
#274DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#274DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274DB2
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274DB2#FFFFFF#000000##FFFFFF
##274DB21.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB5
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #274db2;
/* rgb */ color: rgb(39, 77, 178);
/* oklch */ color: oklch(45.6% 0.167 264.8);
Tailwind
colors: {
  custom: {
    50: '#777eca',
    500: '#274db2',
    950: '#000000',
  },
}
SCSS
$custom: #274db2;
$custom-light: #777eca;
$custom-dark: #000000;
JSON
{
  "hex": "#274db2",
  "rgb": {
    "r": 39,
    "g": 77,
    "b": 178
  },
  "hsl": {
    "h": 223.597,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.456,
    "c": 0.16671,
    "h": 264.8
  },
  "luminance": 0.08953
}

Semantic roles & 50–950 ramp

primary
#274DB2
secondary
#C8AF6D
accent
#BA41E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #274DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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