#274F9B#274F9B

#274F9B is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.2% C 0.132 H 261.7°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#274F9B
RGBrgb(39, 79, 155)
HSLhsl(219, 60%, 38%)
HSVhsv(219, 75%, 61%)
CMYKcmyk(74.8%, 49%, 0%, 39.2%)
CIE-LABlab(34.78, 13.54, -45.59)
CIE-LCHlch(34.78, 47.56, 286.55°)
OKLaboklab(44.22% -0.019 -0.1309)
OKLCHoklch(44.22% 0.132 261.7)
XYZxyz(9.5470, 8.3888, 32.1200)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274F9B #9B7327
analogous
#27899B #274F9B #39279B
triadic
#274F9B #9B274F #4F9B27
tetradic
#274F9B #9B2789 #9B7327 #279B39
square
#274F9B #9B2789 #9B7327 #279B39
split-complementary
#274F9B #9B3927 #899B27
monochromatic
#0E1D39 #1B366A #274F9B #3368CC #648CD8

Accessibility & contrast

On white

7.84
#274F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#274F9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274F9B
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274F9B#FFFFFF#000000##FFFFFF
##274F9B1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25579E
Deuteranopia (green-blind)
#004D99
Tritanopia (blue-blind)
#00616D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #274f9b;
/* rgb */ color: rgb(39, 79, 155);
/* oklch */ color: oklch(44.2% 0.132 261.7);
Tailwind
colors: {
  custom: {
    50: '#717fb9',
    500: '#274f9b',
    950: '#000000',
  },
}
SCSS
$custom: #274f9b;
$custom-light: #717fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#274f9b",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 155
  },
  "hsl": {
    "h": 219.31,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44225,
    "c": 0.13224,
    "h": 261.7
  },
  "luminance": 0.0839
}

Semantic roles & 50–950 ramp

primary
#274F9B
secondary
#BE9D60
accent
#AC45E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #274F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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