#274594#274594

#274594 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.5% C 0.135 H 265.3°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#274594
RGBrgb(39, 69, 148)
HSLhsl(223, 58%, 37%)
HSVhsv(223, 74%, 58%)
CMYKcmyk(73.6%, 53.4%, 0%, 42%)
CIE-LABlab(31.40, 17.57, -46.79)
CIE-LCHlch(31.40, 49.98, 290.58°)
OKLaboklab(41.5% -0.0112 -0.1346)
OKLCHoklch(41.5% 0.135 265.3)
XYZxyz(8.3082, 6.8248, 28.8907)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274594 #947627
analogous
#277C94 #274594 #402794
triadic
#274594 #942745 #459427
tetradic
#274594 #94277C #947627 #279440
square
#274594 #94277C #947627 #279440
split-complementary
#274594 #944027 #7C9427
monochromatic
#0D1833 #1A2E64 #274594 #345CC4 #6080D5

Accessibility & contrast

On white

8.88
#274594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#274594 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274594
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274594#FFFFFF#000000##FFFFFF
##2745941.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104F97
Deuteranopia (green-blind)
#004592
Tritanopia (blue-blind)
#005865
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #274594;
/* rgb */ color: rgb(39, 69, 148);
/* oklch */ color: oklch(41.5% 0.135 265.3);
Tailwind
colors: {
  custom: {
    50: '#7078b4',
    500: '#274594',
    950: '#000000',
  },
}
SCSS
$custom: #274594;
$custom-light: #7078b4;
$custom-dark: #000000;
JSON
{
  "hex": "#274594",
  "rgb": {
    "r": 39,
    "g": 69,
    "b": 148
  },
  "hsl": {
    "h": 223.486,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41495,
    "c": 0.13504,
    "h": 265.3
  },
  "luminance": 0.06826
}

Semantic roles & 50–950 ramp

primary
#274594
secondary
#BBA15C
accent
#B746E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #274594

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

Preview Lab → · Contrast checker → · Palette generator →

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