#274DB0#274DB0

#274DB0 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.4% C 0.164 H 264.7°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#274DB0
RGBrgb(39, 77, 176)
HSLhsl(223, 64%, 42%)
HSVhsv(223, 78%, 69%)
CMYKcmyk(77.8%, 56.2%, 0%, 31%)
CIE-LABlab(35.74, 23.03, -56.60)
CIE-LCHlch(35.74, 61.10, 292.14°)
OKLaboklab(45.43% -0.0151 -0.1633)
OKLCHoklch(45.43% 0.164 264.7)
XYZxyz(11.3243, 8.8724, 42.1816)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274DB0 #B08A27
analogous
#2791B0 #274DB0 #4627B0
triadic
#274DB0 #B0274D #4DB027
tetradic
#274DB0 #B02791 #B08A27 #27B046
square
#274DB0 #B02791 #B08A27 #27B046
split-complementary
#274DB0 #B04627 #91B027
monochromatic
#11214C #1C377E #274DB0 #4069D5 #7290E0

Accessibility & contrast

On white

7.57
#274DB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#274DB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274DB0
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274DB0#FFFFFF#000000##FFFFFF
##274DB01.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #274db0;
/* rgb */ color: rgb(39, 77, 176);
/* oklch */ color: oklch(45.4% 0.164 264.7);
Tailwind
colors: {
  custom: {
    50: '#777ec8',
    500: '#274db0',
    950: '#000000',
  },
}
SCSS
$custom: #274db0;
$custom-light: #777ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#274db0",
  "rgb": {
    "r": 39,
    "g": 77,
    "b": 176
  },
  "hsl": {
    "h": 223.358,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45435,
    "c": 0.16399,
    "h": 264.7
  },
  "luminance": 0.08874
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #274DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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