#274E94#274E94

#274E94 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.5% C 0.124 H 261.0°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#274E94
RGBrgb(39, 78, 148)
HSLhsl(219, 58%, 37%)
HSVhsv(219, 74%, 58%)
CMYKcmyk(73.6%, 47.3%, 0%, 42%)
CIE-LABlab(34.02, 11.49, -42.57)
CIE-LCHlch(34.02, 44.10, 285.10°)
OKLaboklab(43.49% -0.0192 -0.122)
OKLCHoklch(43.49% 0.124 261)
XYZxyz(8.9045, 8.0173, 29.0894)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274E94 #946D27
analogous
#278594 #274E94 #372794
triadic
#274E94 #94274E #4E9427
tetradic
#274E94 #942785 #946D27 #279437
square
#274E94 #942785 #946D27 #279437
split-complementary
#274E94 #943727 #859427
monochromatic
#0D1B33 #1A3464 #274E94 #3468C4 #608AD5

Accessibility & contrast

On white

8.07
#274E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#274E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274E94
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274E94#FFFFFF#000000##FFFFFF
##274E941.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295597
Deuteranopia (green-blind)
#114B93
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #274e94;
/* rgb */ color: rgb(39, 78, 148);
/* oklch */ color: oklch(43.5% 0.124 261.0);
Tailwind
colors: {
  custom: {
    50: '#707fb4',
    500: '#274e94',
    950: '#000000',
  },
}
SCSS
$custom: #274e94;
$custom-light: #707fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#274e94",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 148
  },
  "hsl": {
    "h": 218.532,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43491,
    "c": 0.12353,
    "h": 261
  },
  "luminance": 0.08018
}

Semantic roles & 50–950 ramp

primary
#274E94
secondary
#BB995C
accent
#AA46E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #274E94

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

Preview Lab → · Contrast checker → · Palette generator →

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