#274FB6#274FB6

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

Color values

HEX#274FB6
RGBrgb(39, 79, 182)
HSLhsl(223, 65%, 43%)
HSVhsv(223, 79%, 71%)
CMYKcmyk(78.6%, 56.6%, 0%, 28.6%)
CIE-LABlab(36.74, 24.01, -58.51)
CIE-LCHlch(36.74, 63.24, 292.31°)
OKLaboklab(46.34% -0.0162 -0.1689)
OKLCHoklch(46.34% 0.17 264.5)
XYZxyz(12.0732, 9.3993, 45.4248)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274FB6 #B68E27
analogous
#2796B6 #274FB6 #4627B6
triadic
#274FB6 #B6274F #4FB627
tetradic
#274FB6 #B62796 #B68E27 #27B646
square
#274FB6 #B62796 #B68E27 #27B646
split-complementary
#274FB6 #B64627 #96B627
monochromatic
#112351 #1C3984 #274FB6 #436DD7 #7694E2

Accessibility & contrast

On white

7.29
#274FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#274FB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274FB6
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274FB6#FFFFFF#000000##FFFFFF
##274FB61.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBA
Deuteranopia (green-blind)
#0050B4
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #274fb6;
/* rgb */ color: rgb(39, 79, 182);
/* oklch */ color: oklch(46.3% 0.170 264.5);
Tailwind
colors: {
  custom: {
    50: '#787fcd',
    500: '#274fb6',
    950: '#000000',
  },
}
SCSS
$custom: #274fb6;
$custom-light: #787fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#274fb6",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 182
  },
  "hsl": {
    "h": 223.217,
    "s": 64.706,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46338,
    "c": 0.16965,
    "h": 264.5
  },
  "luminance": 0.09401
}

Semantic roles & 50–950 ramp

primary
#274FB6
secondary
#C9B070
accent
#B940E8
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #274FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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