#274D95#274D95

#274D95 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.3% C 0.126 H 261.7°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#274D95
RGBrgb(39, 77, 149)
HSLhsl(219, 59%, 37%)
HSVhsv(219, 74%, 58%)
CMYKcmyk(73.8%, 48.3%, 0%, 41.6%)
CIE-LABlab(33.79, 12.55, -43.55)
CIE-LCHlch(33.79, 45.32, 286.08°)
OKLaboklab(43.34% -0.0181 -0.1249)
OKLCHoklch(43.34% 0.126 261.7)
XYZxyz(8.9135, 7.9081, 29.4846)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274D95 #956F27
analogous
#278495 #274D95 #382795
triadic
#274D95 #95274D #4D9527
tetradic
#274D95 #952784 #956F27 #279538
square
#274D95 #952784 #956F27 #279538
split-complementary
#274D95 #953827 #849527
monochromatic
#0E1B34 #1A3464 #274D95 #3466C6 #6189D6

Accessibility & contrast

On white

8.13
#274D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#274D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274D95
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274D95#FFFFFF#000000##FFFFFF
##274D951.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265598
Deuteranopia (green-blind)
#094B94
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #274d95;
/* rgb */ color: rgb(39, 77, 149);
/* oklch */ color: oklch(43.3% 0.126 261.7);
Tailwind
colors: {
  custom: {
    50: '#707eb5',
    500: '#274d95',
    950: '#000000',
  },
}
SCSS
$custom: #274d95;
$custom-light: #707eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#274d95",
  "rgb": {
    "r": 39,
    "g": 77,
    "b": 149
  },
  "hsl": {
    "h": 219.273,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43337,
    "c": 0.12621,
    "h": 261.7
  },
  "luminance": 0.07909
}

Semantic roles & 50–950 ramp

primary
#274D95
secondary
#BB9A5D
accent
#AC46E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #274D95

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

Preview Lab → · Contrast checker → · Palette generator →

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