#274E95#274E95

#274E95 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.6% C 0.125 H 261.2°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#274E95
RGBrgb(39, 78, 149)
HSLhsl(219, 59%, 37%)
HSVhsv(219, 74%, 58%)
CMYKcmyk(73.8%, 47.7%, 0%, 41.6%)
CIE-LABlab(34.08, 11.88, -43.07)
CIE-LCHlch(34.08, 44.68, 285.42°)
OKLaboklab(43.56% -0.0191 -0.1235)
OKLCHoklch(43.56% 0.125 261.2)
XYZxyz(8.9840, 8.0491, 29.5081)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274E95 #956E27
analogous
#278595 #274E95 #372795
triadic
#274E95 #95274E #4E9527
tetradic
#274E95 #952785 #956E27 #279537
square
#274E95 #952785 #956E27 #279537
split-complementary
#274E95 #953727 #859527
monochromatic
#0E1B34 #1A3564 #274E95 #3467C6 #618AD6

Accessibility & contrast

On white

8.05
#274E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274E95
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274E95#FFFFFF#000000##FFFFFF
##274E951.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295698
Deuteranopia (green-blind)
#0E4B94
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #274e95;
/* rgb */ color: rgb(39, 78, 149);
/* oklch */ color: oklch(43.6% 0.125 261.2);
Tailwind
colors: {
  custom: {
    50: '#707fb5',
    500: '#274e95',
    950: '#000000',
  },
}
SCSS
$custom: #274e95;
$custom-light: #707fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#274e95",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 149
  },
  "hsl": {
    "h": 218.727,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43563,
    "c": 0.12495,
    "h": 261.2
  },
  "luminance": 0.0805
}

Semantic roles & 50–950 ramp

primary
#274E95
secondary
#BB9A5D
accent
#AB46E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #274E95

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

Preview Lab → · Contrast checker → · Palette generator →

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