#274094#274094

#274094 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.142 H 267.2°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#274094
RGBrgb(39, 64, 148)
HSLhsl(226, 58%, 37%)
HSVhsv(226, 74%, 58%)
CMYKcmyk(73.6%, 56.8%, 0%, 42%)
CIE-LABlab(30.00, 20.98, -49.06)
CIE-LCHlch(30.00, 53.36, 293.15°)
OKLaboklab(40.43% -0.0069 -0.1414)
OKLCHoklch(40.43% 0.142 267.2)
XYZxyz(8.0135, 6.2354, 28.7925)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274094 #947B27
analogous
#277794 #274094 #452794
triadic
#274094 #942740 #409427
tetradic
#274094 #942777 #947B27 #279445
square
#274094 #942777 #947B27 #279445
split-complementary
#274094 #944527 #779427
monochromatic
#0D1633 #1A2B64 #274094 #3455C4 #607BD5

Accessibility & contrast

On white

9.34
#274094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#274094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274094
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274094#FFFFFF#000000##FFFFFF
##2740941.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C97
Deuteranopia (green-blind)
#004292
Tritanopia (blue-blind)
#005563
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #274094;
/* rgb */ color: rgb(39, 64, 148);
/* oklch */ color: oklch(40.4% 0.142 267.2);
Tailwind
colors: {
  custom: {
    50: '#7174b4',
    500: '#274094',
    950: '#000000',
  },
}
SCSS
$custom: #274094;
$custom-light: #7174b4;
$custom-dark: #000000;
JSON
{
  "hex": "#274094",
  "rgb": {
    "r": 39,
    "g": 64,
    "b": 148
  },
  "hsl": {
    "h": 226.239,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40433,
    "c": 0.14153,
    "h": 267.2
  },
  "luminance": 0.06236
}

Semantic roles & 50–950 ramp

primary
#274094
secondary
#BBA55C
accent
#BE46E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #274094

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

Preview Lab → · Contrast checker → · Palette generator →

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