#274C95#274C95

#274C95 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.1% C 0.127 H 262.2°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#274C95
RGBrgb(39, 76, 149)
HSLhsl(220, 59%, 37%)
HSVhsv(220, 74%, 58%)
CMYKcmyk(73.8%, 49%, 0%, 41.6%)
CIE-LABlab(33.50, 13.22, -44.02)
CIE-LCHlch(33.50, 45.96, 286.72°)
OKLaboklab(43.11% -0.0172 -0.1263)
OKLCHoklch(43.11% 0.127 262.2)
XYZxyz(8.8440, 7.7692, 29.4614)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274C95 #957027
analogous
#278395 #274C95 #392795
triadic
#274C95 #95274C #4C9527
tetradic
#274C95 #952783 #957027 #279539
square
#274C95 #952783 #957027 #279539
split-complementary
#274C95 #953927 #839527
monochromatic
#0E1B34 #1A3364 #274C95 #3465C6 #6188D6

Accessibility & contrast

On white

8.22
#274C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#274C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274C95
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274C95#FFFFFF#000000##FFFFFF
##274C951.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245498
Deuteranopia (green-blind)
#044A94
Tritanopia (blue-blind)
#005D69
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #274c95;
/* rgb */ color: rgb(39, 76, 149);
/* oklch */ color: oklch(43.1% 0.127 262.2);
Tailwind
colors: {
  custom: {
    50: '#707db5',
    500: '#274c95',
    950: '#000000',
  },
}
SCSS
$custom: #274c95;
$custom-light: #707db5;
$custom-dark: #000000;
JSON
{
  "hex": "#274c95",
  "rgb": {
    "r": 39,
    "g": 76,
    "b": 149
  },
  "hsl": {
    "h": 219.818,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43113,
    "c": 0.12748,
    "h": 262.2
  },
  "luminance": 0.0777
}

Semantic roles & 50–950 ramp

primary
#274C95
secondary
#BB9B5D
accent
#AD46E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #274C95

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

Preview Lab → · Contrast checker → · Palette generator →

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