#274DAB#274DAB

#274DAB is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.0% C 0.157 H 264.3°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#274DAB
RGBrgb(39, 77, 171)
HSLhsl(223, 63%, 41%)
HSVhsv(223, 77%, 67%)
CMYKcmyk(77.2%, 55%, 0%, 32.9%)
CIE-LABlab(35.36, 21.10, -54.24)
CIE-LCHlch(35.36, 58.20, 291.25°)
OKLaboklab(45.03% -0.0155 -0.1564)
OKLCHoklch(45.03% 0.157 264.3)
XYZxyz(10.8387, 8.6781, 39.6240)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274DAB #AB8527
analogous
#278FAB #274DAB #4327AB
triadic
#274DAB #AB274D #4DAB27
tetradic
#274DAB #AB278F #AB8527 #27AB43
square
#274DAB #AB278F #AB8527 #27AB43
split-complementary
#274DAB #AB4327 #8FAB27
monochromatic
#102047 #1C3779 #274DAB #3D68D3 #6E8FDE

Accessibility & contrast

On white

7.68
#274DAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#274DAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274DAB
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274DAB#FFFFFF#000000##FFFFFF
##274DAB1.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAE
Deuteranopia (green-blind)
#004DA9
Tritanopia (blue-blind)
#006474
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #274dab;
/* rgb */ color: rgb(39, 77, 171);
/* oklch */ color: oklch(45.0% 0.157 264.3);
Tailwind
colors: {
  custom: {
    50: '#757ec5',
    500: '#274dab',
    950: '#000000',
  },
}
SCSS
$custom: #274dab;
$custom-light: #757ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#274dab",
  "rgb": {
    "r": 39,
    "g": 77,
    "b": 171
  },
  "hsl": {
    "h": 222.727,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45029,
    "c": 0.15714,
    "h": 264.3
  },
  "luminance": 0.08679
}

Semantic roles & 50–950 ramp

primary
#274DAB
secondary
#C5AA69
accent
#B742E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #274DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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