#274394#274394

#274394 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.1% C 0.138 H 266.1°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#274394
RGBrgb(39, 67, 148)
HSLhsl(225, 58%, 37%)
HSVhsv(225, 74%, 58%)
CMYKcmyk(73.6%, 54.7%, 0%, 42%)
CIE-LABlab(30.84, 18.93, -47.70)
CIE-LCHlch(30.84, 51.32, 291.65°)
OKLaboklab(41.07% -0.0094 -0.1373)
OKLCHoklch(41.07% 0.138 266.1)
XYZxyz(8.1873, 6.5829, 28.8504)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274394 #947827
analogous
#277A94 #274394 #422794
triadic
#274394 #942743 #439427
tetradic
#274394 #94277A #947827 #279442
square
#274394 #94277A #947827 #279442
split-complementary
#274394 #944227 #7A9427
monochromatic
#0D1733 #1A2D64 #274394 #3459C4 #607ED5

Accessibility & contrast

On white

9.06
#274394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#274394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274394
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274394#FFFFFF#000000##FFFFFF
##2743941.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054E97
Deuteranopia (green-blind)
#004492
Tritanopia (blue-blind)
#005765
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #274394;
/* rgb */ color: rgb(39, 67, 148);
/* oklch */ color: oklch(41.1% 0.138 266.1);
Tailwind
colors: {
  custom: {
    50: '#7076b4',
    500: '#274394',
    950: '#000000',
  },
}
SCSS
$custom: #274394;
$custom-light: #7076b4;
$custom-dark: #000000;
JSON
{
  "hex": "#274394",
  "rgb": {
    "r": 39,
    "g": 67,
    "b": 148
  },
  "hsl": {
    "h": 224.587,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41065,
    "c": 0.13763,
    "h": 266.1
  },
  "luminance": 0.06584
}

Semantic roles & 50–950 ramp

primary
#274394
secondary
#BBA25C
accent
#BA46E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #274394

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

Preview Lab → · Contrast checker → · Palette generator →

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