#274F91#274F91

#274F91 is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.5% C 0.118 H 259.9°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#274F91
RGBrgb(39, 79, 145)
HSLhsl(217, 58%, 36%)
HSVhsv(217, 73%, 57%)
CMYKcmyk(73.1%, 45.5%, 0%, 43.1%)
CIE-LABlab(34.12, 9.65, -40.58)
CIE-LCHlch(34.12, 41.72, 283.38°)
OKLaboklab(43.51% -0.0207 -0.1161)
OKLCHoklch(43.51% 0.118 259.9)
XYZxyz(8.7417, 8.0667, 27.8789)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274F91 #916927
analogous
#278491 #274F91 #342791
triadic
#274F91 #91274F #4F9127
tetradic
#274F91 #912784 #916927 #279134
square
#274F91 #912784 #916927 #279134
split-complementary
#274F91 #913427 #849127
monochromatic
#0D1A31 #1A3561 #274F91 #3469C1 #5F8BD4

Accessibility & contrast

On white

8.03
#274F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#274F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274F91
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274F91#FFFFFF#000000##FFFFFF
##274F911.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5594
Deuteranopia (green-blind)
#1A4C90
Tritanopia (blue-blind)
#005E69
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #274f91;
/* rgb */ color: rgb(39, 79, 145);
/* oklch */ color: oklch(43.5% 0.118 259.9);
Tailwind
colors: {
  custom: {
    50: '#6f7fb2',
    500: '#274f91',
    950: '#000000',
  },
}
SCSS
$custom: #274f91;
$custom-light: #6f7fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#274f91",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 145
  },
  "hsl": {
    "h": 217.358,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43507,
    "c": 0.11799,
    "h": 259.9
  },
  "luminance": 0.08068
}

Semantic roles & 50–950 ramp

primary
#274F91
secondary
#B9955B
accent
#A747E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #274F91

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

Preview Lab → · Contrast checker → · Palette generator →

#274F91 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva