#274FB9#274FB9

#274FB9 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.6% C 0.174 H 264.7°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#274FB9
RGBrgb(39, 79, 185)
HSLhsl(224, 65%, 44%)
HSVhsv(224, 79%, 73%)
CMYKcmyk(78.9%, 57.3%, 0%, 27.5%)
CIE-LABlab(36.98, 25.16, -59.89)
CIE-LCHlch(36.98, 64.96, 292.78°)
OKLaboklab(46.59% -0.016 -0.1729)
OKLCHoklch(46.59% 0.174 264.7)
XYZxyz(12.3865, 9.5246, 47.0752)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274FB9 #B99127
analogous
#2798B9 #274FB9 #4827B9
triadic
#274FB9 #B9274F #4FB927
tetradic
#274FB9 #B92798 #B99127 #27B948
square
#274FB9 #B92798 #B99127 #27B948
split-complementary
#274FB9 #B94827 #98B927
monochromatic
#122454 #1C3986 #274FB9 #456DD8 #7895E3

Accessibility & contrast

On white

7.23
#274FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#274FB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274FB9
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274FB9#FFFFFF#000000##FFFFFF
##274FB91.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBD
Deuteranopia (green-blind)
#0051B7
Tritanopia (blue-blind)
#006A7C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #274fb9;
/* rgb */ color: rgb(39, 79, 185);
/* oklch */ color: oklch(46.6% 0.174 264.7);
Tailwind
colors: {
  custom: {
    50: '#797fcf',
    500: '#274fb9',
    950: '#000000',
  },
}
SCSS
$custom: #274fb9;
$custom-light: #797fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#274fb9",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 185
  },
  "hsl": {
    "h": 223.562,
    "s": 65.179,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46586,
    "c": 0.17369,
    "h": 264.7
  },
  "luminance": 0.09526
}

Semantic roles & 50–950 ramp

primary
#274FB9
secondary
#CAB272
accent
#BA40E8
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #274FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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