#274189#274189

#274189 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.8% C 0.124 H 266.0°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#274189
RGBrgb(39, 65, 137)
HSLhsl(224, 56%, 35%)
HSVhsv(224, 72%, 54%)
CMYKcmyk(71.5%, 52.6%, 0%, 46.3%)
CIE-LABlab(29.46, 16.03, -43.18)
CIE-LCHlch(29.46, 46.06, 290.37°)
OKLaboklab(39.76% -0.0087 -0.124)
OKLCHoklch(39.76% 0.124 266)
XYZxyz(7.2408, 6.0173, 24.4419)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274189 #896F27
analogous
#277289 #274189 #3E2789
triadic
#274189 #892741 #418927
tetradic
#274189 #892772 #896F27 #27893E
square
#274189 #892772 #896F27 #27893E
split-complementary
#274189 #893E27 #728927
monochromatic
#0C142A #192A59 #274189 #3558B9 #5A7AD0

Accessibility & contrast

On white

9.53
#274189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#274189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274189
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274189#FFFFFF#000000##FFFFFF
##2741891.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154A8C
Deuteranopia (green-blind)
#004188
Tritanopia (blue-blind)
#00525E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #274189;
/* rgb */ color: rgb(39, 65, 137);
/* oklch */ color: oklch(39.8% 0.124 266.0);
Tailwind
colors: {
  custom: {
    50: '#6e75ac',
    500: '#274189',
    950: '#000000',
  },
}
SCSS
$custom: #274189;
$custom-light: #6e75ac;
$custom-dark: #000000;
JSON
{
  "hex": "#274189",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 137
  },
  "hsl": {
    "h": 224.082,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39761,
    "c": 0.12434,
    "h": 266
  },
  "luminance": 0.06018
}

Semantic roles & 50–950 ramp

primary
#274189
secondary
#B59C57
accent
#B749DF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #274189

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

Preview Lab → · Contrast checker → · Palette generator →

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