#274191#274191

#274191 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.4% C 0.136 H 266.6°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#274191
RGBrgb(39, 65, 145)
HSLhsl(225, 58%, 36%)
HSVhsv(225, 73%, 57%)
CMYKcmyk(73.1%, 55.2%, 0%, 43.1%)
CIE-LABlab(30.05, 19.13, -47.15)
CIE-LCHlch(30.05, 50.88, 292.09°)
OKLaboklab(40.4% -0.008 -0.1357)
OKLCHoklch(40.4% 0.136 266.6)
XYZxyz(7.8361, 6.2554, 27.5770)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274191 #917727
analogous
#277691 #274191 #422791
triadic
#274191 #912741 #419127
tetradic
#274191 #912776 #917727 #279142
square
#274191 #912776 #917727 #279142
split-complementary
#274191 #914227 #769127
monochromatic
#0D1631 #1A2B61 #274191 #3457C1 #5F7BD4

Accessibility & contrast

On white

9.33
#274191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#274191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274191
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274191#FFFFFF#000000##FFFFFF
##2741911.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024C94
Deuteranopia (green-blind)
#00428F
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #274191;
/* rgb */ color: rgb(39, 65, 145);
/* oklch */ color: oklch(40.4% 0.136 266.6);
Tailwind
colors: {
  custom: {
    50: '#7075b2',
    500: '#274191',
    950: '#000000',
  },
}
SCSS
$custom: #274191;
$custom-light: #7075b2;
$custom-dark: #000000;
JSON
{
  "hex": "#274191",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 145
  },
  "hsl": {
    "h": 225.283,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40397,
    "c": 0.13594,
    "h": 266.6
  },
  "luminance": 0.06256
}

Semantic roles & 50–950 ramp

primary
#274191
secondary
#B9A25B
accent
#BB47E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #274191

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

Preview Lab → · Contrast checker → · Palette generator →

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