#274398#274398

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

Color values

HEX#274398
RGBrgb(39, 67, 152)
HSLhsl(225, 59%, 37%)
HSVhsv(225, 74%, 60%)
CMYKcmyk(74.3%, 55.9%, 0%, 40.4%)
CIE-LABlab(31.14, 20.48, -49.65)
CIE-LCHlch(31.14, 53.71, 292.42°)
OKLaboklab(41.39% -0.0091 -0.143)
OKLCHoklch(41.39% 0.143 266.3)
XYZxyz(8.5094, 6.7117, 30.5467)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274398 #987C27
analogous
#277B98 #274398 #442798
triadic
#274398 #982743 #439827
tetradic
#274398 #98277B #987C27 #279844
square
#274398 #98277B #987C27 #279844
split-complementary
#274398 #984427 #7B9827
monochromatic
#0E1837 #1B2E67 #274398 #3358C9 #637FD7

Accessibility & contrast

On white

8.96
#274398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274398
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274398#FFFFFF#000000##FFFFFF
##2743981.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9B
Deuteranopia (green-blind)
#004496
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #274398;
/* rgb */ color: rgb(39, 67, 152);
/* oklch */ color: oklch(41.4% 0.143 266.3);
Tailwind
colors: {
  custom: {
    50: '#7176b7',
    500: '#274398',
    950: '#000000',
  },
}
SCSS
$custom: #274398;
$custom-light: #7176b7;
$custom-dark: #000000;
JSON
{
  "hex": "#274398",
  "rgb": {
    "r": 39,
    "g": 67,
    "b": 152
  },
  "hsl": {
    "h": 225.133,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41391,
    "c": 0.14333,
    "h": 266.3
  },
  "luminance": 0.06713
}

Semantic roles & 50–950 ramp

primary
#274398
secondary
#BCA55E
accent
#BB45E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #274398

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

Preview Lab → · Contrast checker → · Palette generator →

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