#274DB1#274DB1

#274DB1 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.5% C 0.165 H 264.8°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#274DB1
RGBrgb(39, 77, 177)
HSLhsl(223, 64%, 42%)
HSVhsv(223, 78%, 69%)
CMYKcmyk(78%, 56.5%, 0%, 30.6%)
CIE-LABlab(35.81, 23.41, -57.06)
CIE-LCHlch(35.81, 61.68, 292.31°)
OKLaboklab(45.52% -0.0151 -0.1647)
OKLCHoklch(45.52% 0.165 264.8)
XYZxyz(11.4236, 8.9121, 42.7046)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274DB1 #B18B27
analogous
#2792B1 #274DB1 #4627B1
triadic
#274DB1 #B1274D #4DB127
tetradic
#274DB1 #B12792 #B18B27 #27B146
square
#274DB1 #B12792 #B18B27 #27B146
split-complementary
#274DB1 #B14627 #92B127
monochromatic
#11214D #1C377F #274DB1 #4069D5 #7291E0

Accessibility & contrast

On white

7.55
#274DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274DB1
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274DB1#FFFFFF#000000##FFFFFF
##274DB11.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB4
Deuteranopia (green-blind)
#004EAF
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #274db1;
/* rgb */ color: rgb(39, 77, 177);
/* oklch */ color: oklch(45.5% 0.165 264.8);
Tailwind
colors: {
  custom: {
    50: '#777ec9',
    500: '#274db1',
    950: '#000000',
  },
}
SCSS
$custom: #274db1;
$custom-light: #777ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#274db1",
  "rgb": {
    "r": 39,
    "g": 77,
    "b": 177
  },
  "hsl": {
    "h": 223.478,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45518,
    "c": 0.16535,
    "h": 264.8
  },
  "luminance": 0.08913
}

Semantic roles & 50–950 ramp

primary
#274DB1
secondary
#C7AE6D
accent
#B941E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #274DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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