#274DA5#274DA5

#274DA5 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.6% C 0.149 H 263.8°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#274DA5
RGBrgb(39, 77, 165)
HSLhsl(222, 62%, 40%)
HSVhsv(222, 76%, 65%)
CMYKcmyk(76.4%, 53.3%, 0%, 35.3%)
CIE-LABlab(34.91, 18.77, -51.38)
CIE-LCHlch(34.91, 54.70, 290.07°)
OKLaboklab(44.55% -0.0161 -0.148)
OKLCHoklch(44.55% 0.149 263.8)
XYZxyz(10.2797, 8.4546, 36.6801)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274DA5 #A57F27
analogous
#278CA5 #274DA5 #4027A5
triadic
#274DA5 #A5274D #4DA527
tetradic
#274DA5 #A5278C #A57F27 #27A540
square
#274DA5 #A5278C #A57F27 #27A540
split-complementary
#274DA5 #A54027 #8CA527
monochromatic
#101F42 #1B3674 #274DA5 #3967D0 #6A8DDC

Accessibility & contrast

On white

7.80
#274DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#274DA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274DA5
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274DA5#FFFFFF#000000##FFFFFF
##274DA51.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D58A8
Deuteranopia (green-blind)
#004DA3
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #274da5;
/* rgb */ color: rgb(39, 77, 165);
/* oklch */ color: oklch(44.6% 0.149 263.8);
Tailwind
colors: {
  custom: {
    50: '#747ec0',
    500: '#274da5',
    950: '#000000',
  },
}
SCSS
$custom: #274da5;
$custom-light: #747ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#274da5",
  "rgb": {
    "r": 39,
    "g": 77,
    "b": 165
  },
  "hsl": {
    "h": 221.905,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.44551,
    "c": 0.14883,
    "h": 263.8
  },
  "luminance": 0.08456
}

Semantic roles & 50–950 ramp

primary
#274DA5
secondary
#C2A666
accent
#B443E5
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #274DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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