#274C98#274C98

#274C98 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.3% C 0.132 H 262.7°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#274C98
RGBrgb(39, 76, 152)
HSLhsl(220, 59%, 37%)
HSVhsv(220, 74%, 60%)
CMYKcmyk(74.3%, 50%, 0%, 40.4%)
CIE-LABlab(33.70, 14.39, -45.51)
CIE-LCHlch(33.70, 47.73, 287.55°)
OKLaboklab(43.34% -0.0168 -0.1307)
OKLCHoklch(43.34% 0.132 262.7)
XYZxyz(9.0866, 7.8662, 30.7391)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274C98 #987327
analogous
#278498 #274C98 #3B2798
triadic
#274C98 #98274C #4C9827
tetradic
#274C98 #982784 #987327 #27983B
square
#274C98 #982784 #987327 #27983B
split-complementary
#274C98 #983B27 #849827
monochromatic
#0E1B37 #1B3467 #274C98 #3364C9 #6389D7

Accessibility & contrast

On white

8.16
#274C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#274C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274C98
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274C98#FFFFFF#000000##FFFFFF
##274C981.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21559B
Deuteranopia (green-blind)
#004A96
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #274c98;
/* rgb */ color: rgb(39, 76, 152);
/* oklch */ color: oklch(43.3% 0.132 262.7);
Tailwind
colors: {
  custom: {
    50: '#717db7',
    500: '#274c98',
    950: '#000000',
  },
}
SCSS
$custom: #274c98;
$custom-light: #717db7;
$custom-dark: #000000;
JSON
{
  "hex": "#274c98",
  "rgb": {
    "r": 39,
    "g": 76,
    "b": 152
  },
  "hsl": {
    "h": 220.354,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43335,
    "c": 0.13177,
    "h": 262.7
  },
  "luminance": 0.07867
}

Semantic roles & 50–950 ramp

primary
#274C98
secondary
#BC9E5E
accent
#AF45E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #274C98

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

Preview Lab → · Contrast checker → · Palette generator →

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