#274899#274899

#274899 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.5% C 0.138 H 264.5°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#274899
RGBrgb(39, 72, 153)
HSLhsl(223, 59%, 38%)
HSVhsv(223, 75%, 60%)
CMYKcmyk(74.5%, 52.9%, 0%, 40%)
CIE-LABlab(32.62, 17.48, -47.86)
CIE-LCHlch(32.62, 50.95, 290.06°)
OKLaboklab(42.54% -0.0132 -0.1377)
OKLCHoklch(42.54% 0.138 264.5)
XYZxyz(8.9018, 7.3650, 31.0833)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274899 #997827
analogous
#278199 #274899 #3F2799
triadic
#274899 #992748 #489927
tetradic
#274899 #992781 #997827 #27993F
square
#274899 #992781 #997827 #27993F
split-complementary
#274899 #993F27 #819927
monochromatic
#0E1A37 #1B3168 #274899 #335FCA #6385D7

Accessibility & contrast

On white

8.49
#274899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#274899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274899
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274899#FFFFFF#000000##FFFFFF
##2748991.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12529C
Deuteranopia (green-blind)
#004897
Tritanopia (blue-blind)
#005B69
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #274899;
/* rgb */ color: rgb(39, 72, 153);
/* oklch */ color: oklch(42.5% 0.138 264.5);
Tailwind
colors: {
  custom: {
    50: '#717ab8',
    500: '#274899',
    950: '#000000',
  },
}
SCSS
$custom: #274899;
$custom-light: #717ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#274899",
  "rgb": {
    "r": 39,
    "g": 72,
    "b": 153
  },
  "hsl": {
    "h": 222.632,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42536,
    "c": 0.1383,
    "h": 264.5
  },
  "luminance": 0.07366
}

Semantic roles & 50–950 ramp

primary
#274899
secondary
#BDA25F
accent
#B545E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #274899

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

Preview Lab → · Contrast checker → · Palette generator →

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