#274096#274096

#274096 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.144 H 267.3°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#274096
RGBrgb(39, 64, 150)
HSLhsl(226, 59%, 37%)
HSVhsv(226, 74%, 59%)
CMYKcmyk(74%, 57.3%, 0%, 41.2%)
CIE-LABlab(30.16, 21.75, -50.03)
CIE-LCHlch(30.16, 54.55, 293.49°)
OKLaboklab(40.6% -0.0068 -0.1442)
OKLCHoklch(40.6% 0.144 267.3)
XYZxyz(8.1732, 6.2993, 29.6334)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274096 #967D27
analogous
#277896 #274096 #452796
triadic
#274096 #962740 #409627
tetradic
#274096 #962778 #967D27 #279645
square
#274096 #962778 #967D27 #279645
split-complementary
#274096 #964527 #789627
monochromatic
#0E1735 #1A2B65 #274096 #3455C7 #617CD6

Accessibility & contrast

On white

9.29
#274096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#274096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274096
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274096#FFFFFF#000000##FFFFFF
##2740961.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#004294
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #274096;
/* rgb */ color: rgb(39, 64, 150);
/* oklch */ color: oklch(40.6% 0.144 267.3);
Tailwind
colors: {
  custom: {
    50: '#7174b6',
    500: '#274096',
    950: '#000000',
  },
}
SCSS
$custom: #274096;
$custom-light: #7174b6;
$custom-dark: #000000;
JSON
{
  "hex": "#274096",
  "rgb": {
    "r": 39,
    "g": 64,
    "b": 150
  },
  "hsl": {
    "h": 226.486,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.406,
    "c": 0.14437,
    "h": 267.3
  },
  "luminance": 0.063
}

Semantic roles & 50–950 ramp

primary
#274096
secondary
#BCA65D
accent
#BF46E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #274096

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

Preview Lab → · Contrast checker → · Palette generator →

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