#274397#274397

#274397 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.3% C 0.142 H 266.3°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#274397
RGBrgb(39, 67, 151)
HSLhsl(225, 59%, 37%)
HSVhsv(225, 74%, 59%)
CMYKcmyk(74.2%, 55.6%, 0%, 40.8%)
CIE-LABlab(31.06, 20.09, -49.16)
CIE-LCHlch(31.06, 53.11, 292.23°)
OKLaboklab(41.31% -0.0092 -0.1416)
OKLCHoklch(41.31% 0.142 266.3)
XYZxyz(8.4278, 6.6791, 30.1172)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274397 #977B27
analogous
#277B97 #274397 #432797
triadic
#274397 #972743 #439727
tetradic
#274397 #97277B #977B27 #279743
square
#274397 #97277B #977B27 #279743
split-complementary
#274397 #974327 #7B9727
monochromatic
#0E1836 #1A2D66 #274397 #3459C8 #627FD6

Accessibility & contrast

On white

8.99
#274397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#274397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274397
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274397#FFFFFF#000000##FFFFFF
##2743971.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#004495
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #274397;
/* rgb */ color: rgb(39, 67, 151);
/* oklch */ color: oklch(41.3% 0.142 266.3);
Tailwind
colors: {
  custom: {
    50: '#7176b6',
    500: '#274397',
    950: '#000000',
  },
}
SCSS
$custom: #274397;
$custom-light: #7176b6;
$custom-dark: #000000;
JSON
{
  "hex": "#274397",
  "rgb": {
    "r": 39,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 225,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41309,
    "c": 0.14191,
    "h": 266.3
  },
  "luminance": 0.0668
}

Semantic roles & 50–950 ramp

primary
#274397
secondary
#BCA45E
accent
#BB46E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #274397

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

Preview Lab → · Contrast checker → · Palette generator →

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