#274FB3#274FB3

#274FB3 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.1% C 0.166 H 264.3°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#274FB3
RGBrgb(39, 79, 179)
HSLhsl(223, 64%, 43%)
HSVhsv(223, 78%, 70%)
CMYKcmyk(78.2%, 55.9%, 0%, 29.8%)
CIE-LABlab(36.51, 22.85, -57.11)
CIE-LCHlch(36.51, 61.52, 291.81°)
OKLaboklab(46.09% -0.0164 -0.1648)
OKLCHoklch(46.09% 0.166 264.3)
XYZxyz(11.7665, 9.2766, 43.8095)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274FB3 #B38B27
analogous
#2795B3 #274FB3 #4527B3
triadic
#274FB3 #B3274F #4FB327
tetradic
#274FB3 #B32795 #B38B27 #27B345
square
#274FB3 #B32795 #B38B27 #27B345
split-complementary
#274FB3 #B34527 #95B327
monochromatic
#11234E #1C3981 #274FB3 #416CD6 #7493E1

Accessibility & contrast

On white

7.35
#274FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#274FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274FB3
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274FB3#FFFFFF#000000##FFFFFF
##274FB31.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#0050B1
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #274fb3;
/* rgb */ color: rgb(39, 79, 179);
/* oklch */ color: oklch(46.1% 0.166 264.3);
Tailwind
colors: {
  custom: {
    50: '#777fca',
    500: '#274fb3',
    950: '#000000',
  },
}
SCSS
$custom: #274fb3;
$custom-light: #777fca;
$custom-dark: #000000;
JSON
{
  "hex": "#274fb3",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 179
  },
  "hsl": {
    "h": 222.857,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46091,
    "c": 0.16559,
    "h": 264.3
  },
  "luminance": 0.09278
}

Semantic roles & 50–950 ramp

primary
#274FB3
secondary
#C8AE6E
accent
#B841E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #274FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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