#274F95#274F95

#274F95 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.8% C 0.124 H 260.7°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#274F95
RGBrgb(39, 79, 149)
HSLhsl(218, 59%, 37%)
HSVhsv(218, 74%, 58%)
CMYKcmyk(73.8%, 47%, 0%, 41.6%)
CIE-LABlab(34.38, 11.21, -42.60)
CIE-LCHlch(34.38, 44.05, 284.74°)
OKLaboklab(43.79% -0.02 -0.1221)
OKLCHoklch(43.79% 0.124 260.7)
XYZxyz(9.0555, 8.1922, 29.5320)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274F95 #956D27
analogous
#278695 #274F95 #362795
triadic
#274F95 #95274F #4F9527
tetradic
#274F95 #952786 #956D27 #279536
square
#274F95 #952786 #956D27 #279536
split-complementary
#274F95 #953627 #869527
monochromatic
#0E1C34 #1A3564 #274F95 #3469C6 #618BD6

Accessibility & contrast

On white

7.96
#274F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#274F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274F95
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274F95#FFFFFF#000000##FFFFFF
##274F951.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5698
Deuteranopia (green-blind)
#124C94
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #274f95;
/* rgb */ color: rgb(39, 79, 149);
/* oklch */ color: oklch(43.8% 0.124 260.7);
Tailwind
colors: {
  custom: {
    50: '#707fb5',
    500: '#274f95',
    950: '#000000',
  },
}
SCSS
$custom: #274f95;
$custom-light: #707fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#274f95",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 149
  },
  "hsl": {
    "h": 218.182,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4379,
    "c": 0.12371,
    "h": 260.7
  },
  "luminance": 0.08193
}

Semantic roles & 50–950 ramp

primary
#274F95
secondary
#BB995D
accent
#A946E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #274F95

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

Preview Lab → · Contrast checker → · Palette generator →

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