#274698#274698

#274698 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.0% C 0.139 H 265.2°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#274698
RGBrgb(39, 70, 152)
HSLhsl(224, 59%, 37%)
HSVhsv(224, 74%, 60%)
CMYKcmyk(74.3%, 53.9%, 0%, 40.4%)
CIE-LABlab(31.98, 18.45, -48.29)
CIE-LCHlch(31.98, 51.69, 290.91°)
OKLaboklab(42.03% -0.0116 -0.139)
OKLCHoklch(42.03% 0.139 265.2)
XYZxyz(8.6924, 7.0777, 30.6077)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274698 #987927
analogous
#277E98 #274698 #412798
triadic
#274698 #982746 #469827
tetradic
#274698 #98277E #987927 #279841
square
#274698 #98277E #987927 #279841
split-complementary
#274698 #984127 #7E9827
monochromatic
#0E1937 #1B3067 #274698 #335CC9 #6382D7

Accessibility & contrast

On white

8.69
#274698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#274698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274698
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274698#FFFFFF#000000##FFFFFF
##2746981.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B519B
Deuteranopia (green-blind)
#004696
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #274698;
/* rgb */ color: rgb(39, 70, 152);
/* oklch */ color: oklch(42.0% 0.139 265.2);
Tailwind
colors: {
  custom: {
    50: '#7178b7',
    500: '#274698',
    950: '#000000',
  },
}
SCSS
$custom: #274698;
$custom-light: #7178b7;
$custom-dark: #000000;
JSON
{
  "hex": "#274698",
  "rgb": {
    "r": 39,
    "g": 70,
    "b": 152
  },
  "hsl": {
    "h": 223.54,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42027,
    "c": 0.13945,
    "h": 265.2
  },
  "luminance": 0.07079
}

Semantic roles & 50–950 ramp

primary
#274698
secondary
#BCA35E
accent
#B745E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #274698

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

Preview Lab → · Contrast checker → · Palette generator →

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