#274F98#274F98

#274F98 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.0% C 0.128 H 261.2°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#274F98
RGBrgb(39, 79, 152)
HSLhsl(219, 59%, 37%)
HSVhsv(219, 74%, 60%)
CMYKcmyk(74.3%, 48%, 0%, 40.4%)
CIE-LABlab(34.58, 12.38, -44.10)
CIE-LCHlch(34.58, 45.80, 285.68°)
OKLaboklab(44.01% -0.0195 -0.1265)
OKLCHoklch(44.01% 0.128 261.2)
XYZxyz(9.2981, 8.2893, 30.8096)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274F98 #987027
analogous
#278798 #274F98 #382798
triadic
#274F98 #98274F #4F9827
tetradic
#274F98 #982787 #987027 #279838
square
#274F98 #982787 #987027 #279838
split-complementary
#274F98 #983827 #879827
monochromatic
#0E1C37 #1B3667 #274F98 #3368C9 #638CD7

Accessibility & contrast

On white

7.90
#274F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#274F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274F98
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274F98#FFFFFF#000000##FFFFFF
##274F981.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28579B
Deuteranopia (green-blind)
#0A4C97
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #274f98;
/* rgb */ color: rgb(39, 79, 152);
/* oklch */ color: oklch(44.0% 0.128 261.2);
Tailwind
colors: {
  custom: {
    50: '#717fb7',
    500: '#274f98',
    950: '#000000',
  },
}
SCSS
$custom: #274f98;
$custom-light: #717fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#274f98",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 152
  },
  "hsl": {
    "h": 218.761,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44006,
    "c": 0.12798,
    "h": 261.2
  },
  "luminance": 0.0829
}

Semantic roles & 50–950 ramp

primary
#274F98
secondary
#BC9B5E
accent
#AB45E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #274F98

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

Preview Lab → · Contrast checker → · Palette generator →

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