#274996#274996

#274996 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.5% C 0.133 H 263.8°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#274996
RGBrgb(39, 73, 150)
HSLhsl(222, 59%, 37%)
HSVhsv(222, 74%, 59%)
CMYKcmyk(74%, 51.3%, 0%, 41.2%)
CIE-LABlab(32.70, 15.63, -45.92)
CIE-LCHlch(32.70, 48.51, 288.80°)
OKLaboklab(42.52% -0.0144 -0.132)
OKLCHoklch(42.52% 0.133 263.8)
XYZxyz(8.7223, 7.3975, 29.8164)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274996 #967427
analogous
#278096 #274996 #3D2796
triadic
#274996 #962749 #499627
tetradic
#274996 #962780 #967427 #27963D
square
#274996 #962780 #967427 #27963D
split-complementary
#274996 #963D27 #809627
monochromatic
#0E1A35 #1A3165 #274996 #3461C7 #6185D6

Accessibility & contrast

On white

8.47
#274996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#274996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274996
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274996#FFFFFF#000000##FFFFFF
##2749961.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5299
Deuteranopia (green-blind)
#004894
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #274996;
/* rgb */ color: rgb(39, 73, 150);
/* oklch */ color: oklch(42.5% 0.133 263.8);
Tailwind
colors: {
  custom: {
    50: '#717bb5',
    500: '#274996',
    950: '#000000',
  },
}
SCSS
$custom: #274996;
$custom-light: #717bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#274996",
  "rgb": {
    "r": 39,
    "g": 73,
    "b": 150
  },
  "hsl": {
    "h": 221.622,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42522,
    "c": 0.13275,
    "h": 263.8
  },
  "luminance": 0.07398
}

Semantic roles & 50–950 ramp

primary
#274996
secondary
#BC9F5D
accent
#B246E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #274996

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

Preview Lab → · Contrast checker → · Palette generator →

#274996 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva