#274A95#274A95

#274A95 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.7% C 0.130 H 263.2°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#274A95
RGBrgb(39, 74, 149)
HSLhsl(221, 59%, 37%)
HSVhsv(221, 74%, 58%)
CMYKcmyk(73.8%, 50.3%, 0%, 41.6%)
CIE-LABlab(32.91, 14.57, -44.96)
CIE-LCHlch(32.91, 47.26, 287.96°)
OKLaboklab(42.67% -0.0154 -0.1291)
OKLCHoklch(42.67% 0.13 263.2)
XYZxyz(8.7084, 7.4979, 29.4162)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274A95 #957227
analogous
#278195 #274A95 #3B2795
triadic
#274A95 #95274A #4A9527
tetradic
#274A95 #952781 #957227 #27953B
square
#274A95 #952781 #957227 #27953B
split-complementary
#274A95 #953B27 #819527
monochromatic
#0E1A34 #1A3264 #274A95 #3462C6 #6186D6

Accessibility & contrast

On white

8.40
#274A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#274A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274A95
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274A95#FFFFFF#000000##FFFFFF
##274A951.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #274a95;
/* rgb */ color: rgb(39, 74, 149);
/* oklch */ color: oklch(42.7% 0.130 263.2);
Tailwind
colors: {
  custom: {
    50: '#707cb5',
    500: '#274a95',
    950: '#000000',
  },
}
SCSS
$custom: #274a95;
$custom-light: #707cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#274a95",
  "rgb": {
    "r": 39,
    "g": 74,
    "b": 149
  },
  "hsl": {
    "h": 220.909,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42667,
    "c": 0.13003,
    "h": 263.2
  },
  "luminance": 0.07499
}

Semantic roles & 50–950 ramp

primary
#274A95
secondary
#BB9D5D
accent
#B046E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #274A95

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

Preview Lab → · Contrast checker → · Palette generator →

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