#274FB5#274FB5

#274FB5 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.3% C 0.168 H 264.5°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#274FB5
RGBrgb(39, 79, 181)
HSLhsl(223, 65%, 43%)
HSVhsv(223, 78%, 71%)
CMYKcmyk(78.5%, 56.4%, 0%, 29%)
CIE-LABlab(36.66, 23.62, -58.04)
CIE-LCHlch(36.66, 62.67, 292.14°)
OKLaboklab(46.26% -0.0162 -0.1675)
OKLCHoklch(46.26% 0.168 264.5)
XYZxyz(11.9702, 9.3581, 44.8825)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274FB5 #B58D27
analogous
#2796B5 #274FB5 #4627B5
triadic
#274FB5 #B5274F #4FB527
tetradic
#274FB5 #B52796 #B58D27 #27B546
square
#274FB5 #B52796 #B58D27 #27B546
split-complementary
#274FB5 #B54627 #96B527
monochromatic
#112350 #1C3983 #274FB5 #436CD6 #7594E1

Accessibility & contrast

On white

7.31
#274FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#274FB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274FB5
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274FB5#FFFFFF#000000##FFFFFF
##274FB51.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#0050B3
Tritanopia (blue-blind)
#00687A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #274fb5;
/* rgb */ color: rgb(39, 79, 181);
/* oklch */ color: oklch(46.3% 0.168 264.5);
Tailwind
colors: {
  custom: {
    50: '#787fcc',
    500: '#274fb5',
    950: '#000000',
  },
}
SCSS
$custom: #274fb5;
$custom-light: #787fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#274fb5",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 181
  },
  "hsl": {
    "h": 223.099,
    "s": 64.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46255,
    "c": 0.16831,
    "h": 264.5
  },
  "luminance": 0.09359
}

Semantic roles & 50–950 ramp

primary
#274FB5
secondary
#C9AF6F
accent
#B840E8
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #274FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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