#274C97#274C97

#274C97 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.3% C 0.130 H 262.5°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#274C97
RGBrgb(39, 76, 151)
HSLhsl(220, 59%, 37%)
HSVhsv(220, 74%, 59%)
CMYKcmyk(74.2%, 49.7%, 0%, 40.8%)
CIE-LABlab(33.63, 14.00, -45.01)
CIE-LCHlch(33.63, 47.14, 287.28°)
OKLaboklab(43.26% -0.0169 -0.1292)
OKLCHoklch(43.26% 0.13 262.5)
XYZxyz(9.0051, 7.8336, 30.3096)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274C97 #977227
analogous
#278497 #274C97 #3A2797
triadic
#274C97 #97274C #4C9727
tetradic
#274C97 #972784 #977227 #27973A
square
#274C97 #972784 #977227 #27973A
split-complementary
#274C97 #973A27 #849727
monochromatic
#0E1B36 #1A3466 #274C97 #3464C8 #6288D6

Accessibility & contrast

On white

8.18
#274C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274C97
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274C97#FFFFFF#000000##FFFFFF
##274C971.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22559A
Deuteranopia (green-blind)
#004A95
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #274c97;
/* rgb */ color: rgb(39, 76, 151);
/* oklch */ color: oklch(43.3% 0.130 262.5);
Tailwind
colors: {
  custom: {
    50: '#717db6',
    500: '#274c97',
    950: '#000000',
  },
}
SCSS
$custom: #274c97;
$custom-light: #717db6;
$custom-dark: #000000;
JSON
{
  "hex": "#274c97",
  "rgb": {
    "r": 39,
    "g": 76,
    "b": 151
  },
  "hsl": {
    "h": 220.179,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43261,
    "c": 0.13034,
    "h": 262.5
  },
  "luminance": 0.07835
}

Semantic roles & 50–950 ramp

primary
#274C97
secondary
#BC9D5E
accent
#AE46E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #274C97

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

Preview Lab → · Contrast checker → · Palette generator →

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