#274391#274391

#274391 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.8% C 0.133 H 265.8°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#274391
RGBrgb(39, 67, 145)
HSLhsl(224, 58%, 36%)
HSVhsv(224, 73%, 57%)
CMYKcmyk(73.1%, 53.8%, 0%, 43.1%)
CIE-LABlab(30.61, 17.77, -46.23)
CIE-LCHlch(30.61, 49.53, 291.02°)
OKLaboklab(40.83% -0.0097 -0.133)
OKLCHoklch(40.83% 0.133 265.8)
XYZxyz(7.9529, 6.4892, 27.6160)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274391 #917527
analogous
#277891 #274391 #402791
triadic
#274391 #912743 #439127
tetradic
#274391 #912778 #917527 #279140
square
#274391 #912778 #917527 #279140
split-complementary
#274391 #914027 #789127
monochromatic
#0D1631 #1A2D61 #274391 #3459C1 #5F7ED4

Accessibility & contrast

On white

9.14
#274391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#274391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274391
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274391#FFFFFF#000000##FFFFFF
##2743911.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4D94
Deuteranopia (green-blind)
#00438F
Tritanopia (blue-blind)
#005663
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #274391;
/* rgb */ color: rgb(39, 67, 145);
/* oklch */ color: oklch(40.8% 0.133 265.8);
Tailwind
colors: {
  custom: {
    50: '#7076b2',
    500: '#274391',
    950: '#000000',
  },
}
SCSS
$custom: #274391;
$custom-light: #7076b2;
$custom-dark: #000000;
JSON
{
  "hex": "#274391",
  "rgb": {
    "r": 39,
    "g": 67,
    "b": 145
  },
  "hsl": {
    "h": 224.151,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40826,
    "c": 0.13333,
    "h": 265.8
  },
  "luminance": 0.0649
}

Semantic roles & 50–950 ramp

primary
#274391
secondary
#B9A05B
accent
#B847E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #274391

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

Preview Lab → · Contrast checker → · Palette generator →

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