#274DB9#274DB9

#274DB9 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.2% C 0.176 H 265.2°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#274DB9
RGBrgb(39, 77, 185)
HSLhsl(224, 65%, 44%)
HSVhsv(224, 79%, 73%)
CMYKcmyk(78.9%, 58.4%, 0%, 27.5%)
CIE-LABlab(36.44, 26.48, -60.76)
CIE-LCHlch(36.44, 66.28, 293.54°)
OKLaboklab(46.19% -0.0147 -0.1755)
OKLCHoklch(46.19% 0.176 265.2)
XYZxyz(12.2444, 9.2405, 47.0278)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274DB9 #B99327
analogous
#2796B9 #274DB9 #4A27B9
triadic
#274DB9 #B9274D #4DB927
tetradic
#274DB9 #B92796 #B99327 #27B94A
square
#274DB9 #B92796 #B99327 #27B94A
split-complementary
#274DB9 #B94A27 #96B927
monochromatic
#122354 #1C3886 #274DB9 #456BD8 #7894E3

Accessibility & contrast

On white

7.37
#274DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#274DB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274DB9
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274DB9#FFFFFF#000000##FFFFFF
##274DB91.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#004FB7
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #274db9;
/* rgb */ color: rgb(39, 77, 185);
/* oklch */ color: oklch(46.2% 0.176 265.2);
Tailwind
colors: {
  custom: {
    50: '#797ecf',
    500: '#274db9',
    950: '#000000',
  },
}
SCSS
$custom: #274db9;
$custom-light: #797ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#274db9",
  "rgb": {
    "r": 39,
    "g": 77,
    "b": 185
  },
  "hsl": {
    "h": 224.384,
    "s": 65.179,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46187,
    "c": 0.17614,
    "h": 265.2
  },
  "luminance": 0.09242
}

Semantic roles & 50–950 ramp

primary
#274DB9
secondary
#CAB372
accent
#BC40E8
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #274DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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