#274995#274995

#274995 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.4% C 0.131 H 263.6°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#274995
RGBrgb(39, 73, 149)
HSLhsl(221, 59%, 37%)
HSVhsv(221, 74%, 58%)
CMYKcmyk(73.8%, 51%, 0%, 41.6%)
CIE-LABlab(32.62, 15.25, -45.42)
CIE-LCHlch(32.62, 47.91, 288.55°)
OKLaboklab(42.45% -0.0145 -0.1305)
OKLCHoklch(42.45% 0.131 263.6)
XYZxyz(8.6421, 7.3654, 29.3942)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274995 #957327
analogous
#278095 #274995 #3C2795
triadic
#274995 #952749 #499527
tetradic
#274995 #952780 #957327 #27953C
square
#274995 #952780 #957327 #27953C
split-complementary
#274995 #953C27 #809527
monochromatic
#0E1934 #1A3164 #274995 #3461C6 #6185D6

Accessibility & contrast

On white

8.49
#274995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#274995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274995
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274995#FFFFFF#000000##FFFFFF
##2749951.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5298
Deuteranopia (green-blind)
#004893
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #274995;
/* rgb */ color: rgb(39, 73, 149);
/* oklch */ color: oklch(42.4% 0.131 263.6);
Tailwind
colors: {
  custom: {
    50: '#707bb5',
    500: '#274995',
    950: '#000000',
  },
}
SCSS
$custom: #274995;
$custom-light: #707bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#274995",
  "rgb": {
    "r": 39,
    "g": 73,
    "b": 149
  },
  "hsl": {
    "h": 221.455,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42445,
    "c": 0.13131,
    "h": 263.6
  },
  "luminance": 0.07366
}

Semantic roles & 50–950 ramp

primary
#274995
secondary
#BB9E5D
accent
#B246E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #274995

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

Preview Lab → · Contrast checker → · Palette generator →

#274995 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva