#274DB5#274DB5

#274DB5 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.9% C 0.171 H 265.0°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#274DB5
RGBrgb(39, 77, 181)
HSLhsl(224, 65%, 43%)
HSVhsv(224, 78%, 71%)
CMYKcmyk(78.5%, 57.5%, 0%, 29%)
CIE-LABlab(36.13, 24.95, -58.92)
CIE-LCHlch(36.13, 63.98, 292.95°)
OKLaboklab(45.85% -0.0149 -0.1701)
OKLCHoklch(45.85% 0.171 265)
XYZxyz(11.8281, 9.0739, 44.8352)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274DB5 #B58F27
analogous
#2794B5 #274DB5 #4827B5
triadic
#274DB5 #B5274D #4DB527
tetradic
#274DB5 #B52794 #B58F27 #27B548
square
#274DB5 #B52794 #B58F27 #27B548
split-complementary
#274DB5 #B54827 #94B527
monochromatic
#112250 #1C3883 #274DB5 #436AD6 #7592E1

Accessibility & contrast

On white

7.46
#274DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#274DB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274DB5
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274DB5#FFFFFF#000000##FFFFFF
##274DB51.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#004FB3
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #274db5;
/* rgb */ color: rgb(39, 77, 181);
/* oklch */ color: oklch(45.9% 0.171 265.0);
Tailwind
colors: {
  custom: {
    50: '#787ecc',
    500: '#274db5',
    950: '#000000',
  },
}
SCSS
$custom: #274db5;
$custom-light: #787ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#274db5",
  "rgb": {
    "r": 39,
    "g": 77,
    "b": 181
  },
  "hsl": {
    "h": 223.944,
    "s": 64.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4585,
    "c": 0.17077,
    "h": 265
  },
  "luminance": 0.09075
}

Semantic roles & 50–950 ramp

primary
#274DB5
secondary
#C9B16F
accent
#BB40E8
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #274DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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