#274FAD#274FAD

#274FAD is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.6% C 0.157 H 263.9°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#274FAD
RGBrgb(39, 79, 173)
HSLhsl(222, 63%, 42%)
HSVhsv(222, 77%, 68%)
CMYKcmyk(77.5%, 54.3%, 0%, 32.2%)
CIE-LABlab(36.06, 20.54, -54.29)
CIE-LCHlch(36.06, 58.05, 290.72°)
OKLaboklab(45.61% -0.0168 -0.1565)
OKLCHoklch(45.61% 0.157 263.9)
XYZxyz(11.1728, 9.0392, 40.6829)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274FAD #AD8527
analogous
#2792AD #274FAD #4227AD
triadic
#274FAD #AD274F #4FAD27
tetradic
#274FAD #AD2792 #AD8527 #27AD42
square
#274FAD #AD2792 #AD8527 #27AD42
split-complementary
#274FAD #AD4227 #92AD27
monochromatic
#102149 #1C387B #274FAD #3E6AD3 #7091DF

Accessibility & contrast

On white

7.48
#274FAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#274FAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274FAD
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274FAD#FFFFFF#000000##FFFFFF
##274FAD1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB0
Deuteranopia (green-blind)
#004FAB
Tritanopia (blue-blind)
#006676
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #274fad;
/* rgb */ color: rgb(39, 79, 173);
/* oklch */ color: oklch(45.6% 0.157 263.9);
Tailwind
colors: {
  custom: {
    50: '#767fc6',
    500: '#274fad',
    950: '#000000',
  },
}
SCSS
$custom: #274fad;
$custom-light: #767fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#274fad",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 173
  },
  "hsl": {
    "h": 222.09,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45607,
    "c": 0.15739,
    "h": 263.9
  },
  "luminance": 0.0904
}

Semantic roles & 50–950 ramp

primary
#274FAD
secondary
#C6AA6A
accent
#B542E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #274FAD

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

Preview Lab → · Contrast checker → · Palette generator →

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