#274F97#274F97

#274F97 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 43.9% C 0.127 H 261.1°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#274F97
RGBrgb(39, 79, 151)
HSLhsl(219, 59%, 37%)
HSVhsv(219, 74%, 59%)
CMYKcmyk(74.2%, 47.7%, 0%, 40.8%)
CIE-LABlab(34.51, 11.99, -43.60)
CIE-LCHlch(34.51, 45.22, 285.37°)
OKLaboklab(43.93% -0.0196 -0.125)
OKLCHoklch(43.93% 0.127 261.1)
XYZxyz(9.2166, 8.2567, 30.3801)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274F97 #976F27
analogous
#278797 #274F97 #372797
triadic
#274F97 #97274F #4F9727
tetradic
#274F97 #972787 #976F27 #279737
square
#274F97 #972787 #976F27 #279737
split-complementary
#274F97 #973727 #879727
monochromatic
#0E1C36 #1A3666 #274F97 #3468C8 #628CD6

Accessibility & contrast

On white

7.92
#274F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#274F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274F97
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274F97#FFFFFF#000000##FFFFFF
##274F971.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29579A
Deuteranopia (green-blind)
#0D4C96
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #274f97;
/* rgb */ color: rgb(39, 79, 151);
/* oklch */ color: oklch(43.9% 0.127 261.1);
Tailwind
colors: {
  custom: {
    50: '#717fb6',
    500: '#274f97',
    950: '#000000',
  },
}
SCSS
$custom: #274f97;
$custom-light: #717fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#274f97",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 151
  },
  "hsl": {
    "h": 218.571,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43934,
    "c": 0.12655,
    "h": 261.1
  },
  "luminance": 0.08258
}

Semantic roles & 50–950 ramp

primary
#274F97
secondary
#BC9A5E
accent
#AA46E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #274F97

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

Preview Lab → · Contrast checker → · Palette generator →

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