#274FB0#274FB0

#274FB0 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.8% C 0.162 H 264.1°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#274FB0
RGBrgb(39, 79, 176)
HSLhsl(222, 64%, 42%)
HSVhsv(222, 78%, 69%)
CMYKcmyk(77.8%, 55.1%, 0%, 31%)
CIE-LABlab(36.28, 21.70, -55.71)
CIE-LCHlch(36.28, 59.78, 291.28°)
OKLaboklab(45.85% -0.0166 -0.1606)
OKLCHoklch(45.85% 0.162 264.1)
XYZxyz(11.4664, 9.1566, 42.2290)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274FB0 #B08827
analogous
#2793B0 #274FB0 #4427B0
triadic
#274FB0 #B0274F #4FB027
tetradic
#274FB0 #B02793 #B08827 #27B044
square
#274FB0 #B02793 #B08827 #27B044
split-complementary
#274FB0 #B04427 #93B027
monochromatic
#11224C #1C397E #274FB0 #406BD5 #7292E0

Accessibility & contrast

On white

7.42
#274FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#274FB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274FB0
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274FB0#FFFFFF#000000##FFFFFF
##274FB01.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB3
Deuteranopia (green-blind)
#004FAE
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #274fb0;
/* rgb */ color: rgb(39, 79, 176);
/* oklch */ color: oklch(45.8% 0.162 264.1);
Tailwind
colors: {
  custom: {
    50: '#767fc8',
    500: '#274fb0',
    950: '#000000',
  },
}
SCSS
$custom: #274fb0;
$custom-light: #767fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#274fb0",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 176
  },
  "hsl": {
    "h": 222.482,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45848,
    "c": 0.16151,
    "h": 264.1
  },
  "luminance": 0.09158
}

Semantic roles & 50–950 ramp

primary
#274FB0
secondary
#C7AC6C
accent
#B641E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #274FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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