#274FBA#274FBA

#274FBA is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.7% C 0.175 H 264.8°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#274FBA
RGBrgb(39, 79, 186)
HSLhsl(224, 65%, 44%)
HSVhsv(224, 79%, 73%)
CMYKcmyk(79%, 57.5%, 0%, 27.1%)
CIE-LABlab(37.05, 25.54, -60.35)
CIE-LCHlch(37.05, 65.53, 292.94°)
OKLaboklab(46.67% -0.0159 -0.1743)
OKLCHoklch(46.67% 0.175 264.8)
XYZxyz(12.4925, 9.5670, 47.6331)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274FBA #BA9227
analogous
#2799BA #274FBA #4827BA
triadic
#274FBA #BA274F #4FBA27
tetradic
#274FBA #BA2799 #BA9227 #27BA48
square
#274FBA #BA2799 #BA9227 #27BA48
split-complementary
#274FBA #BA4827 #99BA27
monochromatic
#122455 #1C3A87 #274FBA #466ED8 #7995E3

Accessibility & contrast

On white

7.21
#274FBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274FBA
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274FBA#FFFFFF#000000##FFFFFF
##274FBA1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#0051B8
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #274fba;
/* rgb */ color: rgb(39, 79, 186);
/* oklch */ color: oklch(46.7% 0.175 264.8);
Tailwind
colors: {
  custom: {
    50: '#797fd0',
    500: '#274fba',
    950: '#000000',
  },
}
SCSS
$custom: #274fba;
$custom-light: #797fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#274fba",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 186
  },
  "hsl": {
    "h": 223.673,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4667,
    "c": 0.17503,
    "h": 264.8
  },
  "luminance": 0.09568
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #274FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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