#274496#274496

#274496 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.4% C 0.139 H 265.8°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#274496
RGBrgb(39, 68, 150)
HSLhsl(224, 59%, 37%)
HSVhsv(224, 74%, 59%)
CMYKcmyk(74%, 54.7%, 0%, 41.2%)
CIE-LABlab(31.27, 19.03, -48.22)
CIE-LCHlch(31.27, 51.84, 291.53°)
OKLaboklab(41.44% -0.0101 -0.1388)
OKLCHoklch(41.44% 0.139 265.8)
XYZxyz(8.4069, 6.7667, 29.7113)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274496 #967927
analogous
#277C96 #274496 #412796
triadic
#274496 #962744 #449627
tetradic
#274496 #96277C #967927 #279641
square
#274496 #96277C #967927 #279641
split-complementary
#274496 #964127 #7C9627
monochromatic
#0E1835 #1A2E65 #274496 #345AC7 #6180D6

Accessibility & contrast

On white

8.92
#274496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#274496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274496
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274496#FFFFFF#000000##FFFFFF
##2744961.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054F99
Deuteranopia (green-blind)
#004594
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #274496;
/* rgb */ color: rgb(39, 68, 150);
/* oklch */ color: oklch(41.4% 0.139 265.8);
Tailwind
colors: {
  custom: {
    50: '#7177b5',
    500: '#274496',
    950: '#000000',
  },
}
SCSS
$custom: #274496;
$custom-light: #7177b5;
$custom-dark: #000000;
JSON
{
  "hex": "#274496",
  "rgb": {
    "r": 39,
    "g": 68,
    "b": 150
  },
  "hsl": {
    "h": 224.324,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4144,
    "c": 0.1392,
    "h": 265.8
  },
  "luminance": 0.06768
}

Semantic roles & 50–950 ramp

primary
#274496
secondary
#BCA35D
accent
#B946E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #274496

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

Preview Lab → · Contrast checker → · Palette generator →

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