#274EB9#274EB9

#274EB9 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.4% C 0.175 H 265.0°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#274EB9
RGBrgb(39, 78, 185)
HSLhsl(224, 65%, 44%)
HSVhsv(224, 79%, 73%)
CMYKcmyk(78.9%, 57.8%, 0%, 27.5%)
CIE-LABlab(36.71, 25.82, -60.33)
CIE-LCHlch(36.71, 65.62, 293.17°)
OKLaboklab(46.39% -0.0153 -0.1742)
OKLCHoklch(46.39% 0.175 265)
XYZxyz(12.3149, 9.3815, 47.0513)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274EB9 #B99227
analogous
#2797B9 #274EB9 #4927B9
triadic
#274EB9 #B9274E #4EB927
tetradic
#274EB9 #B92797 #B99227 #27B949
square
#274EB9 #B92797 #B99227 #27B949
split-complementary
#274EB9 #B94927 #97B927
monochromatic
#122354 #1C3986 #274EB9 #456CD8 #7894E3

Accessibility & contrast

On white

7.30
#274EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274EB9
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274EB9#FFFFFF#000000##FFFFFF
##274EB91.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#0050B7
Tritanopia (blue-blind)
#00697C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #274eb9;
/* rgb */ color: rgb(39, 78, 185);
/* oklch */ color: oklch(46.4% 0.175 265.0);
Tailwind
colors: {
  custom: {
    50: '#797fcf',
    500: '#274eb9',
    950: '#000000',
  },
}
SCSS
$custom: #274eb9;
$custom-light: #797fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#274eb9",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 185
  },
  "hsl": {
    "h": 223.973,
    "s": 65.179,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46386,
    "c": 0.17491,
    "h": 265
  },
  "luminance": 0.09383
}

Semantic roles & 50–950 ramp

primary
#274EB9
secondary
#CAB372
accent
#BB40E8
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #274EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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