#274A94#274A94

#274A94 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.6% C 0.129 H 263.0°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#274A94
RGBrgb(39, 74, 148)
HSLhsl(221, 58%, 37%)
HSVhsv(221, 74%, 58%)
CMYKcmyk(73.6%, 50%, 0%, 42%)
CIE-LABlab(32.85, 14.18, -44.46)
CIE-LCHlch(32.85, 46.67, 287.69°)
OKLaboklab(42.59% -0.0156 -0.1277)
OKLCHoklch(42.59% 0.129 263)
XYZxyz(8.6289, 7.4661, 28.9976)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274A94 #947127
analogous
#278194 #274A94 #3B2794
triadic
#274A94 #94274A #4A9427
tetradic
#274A94 #942781 #947127 #27943B
square
#274A94 #942781 #947127 #27943B
split-complementary
#274A94 #943B27 #819427
monochromatic
#0D1A33 #1A3264 #274A94 #3462C4 #6086D5

Accessibility & contrast

On white

8.42
#274A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#274A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274A94
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274A94#FFFFFF#000000##FFFFFF
##274A941.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205397
Deuteranopia (green-blind)
#004993
Tritanopia (blue-blind)
#005C68
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #274a94;
/* rgb */ color: rgb(39, 74, 148);
/* oklch */ color: oklch(42.6% 0.129 263.0);
Tailwind
colors: {
  custom: {
    50: '#707cb4',
    500: '#274a94',
    950: '#000000',
  },
}
SCSS
$custom: #274a94;
$custom-light: #707cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#274a94",
  "rgb": {
    "r": 39,
    "g": 74,
    "b": 148
  },
  "hsl": {
    "h": 220.734,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42591,
    "c": 0.1286,
    "h": 263
  },
  "luminance": 0.07467
}

Semantic roles & 50–950 ramp

primary
#274A94
secondary
#BB9C5C
accent
#B046E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #274A94

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

Preview Lab → · Contrast checker → · Palette generator →

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