#274196#274196

#274196 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.143 H 266.9°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#274196
RGBrgb(39, 65, 150)
HSLhsl(226, 59%, 37%)
HSVhsv(226, 74%, 59%)
CMYKcmyk(74%, 56.7%, 0%, 41.2%)
CIE-LABlab(30.43, 21.07, -49.58)
CIE-LCHlch(30.43, 53.87, 293.02°)
OKLaboklab(40.81% -0.0076 -0.1429)
OKLCHoklch(40.81% 0.143 266.9)
XYZxyz(8.2301, 6.4131, 29.6524)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274196 #967C27
analogous
#277996 #274196 #452796
triadic
#274196 #962741 #419627
tetradic
#274196 #962779 #967C27 #279645
square
#274196 #962779 #967C27 #279645
split-complementary
#274196 #964527 #799627
monochromatic
#0E1735 #1A2C65 #274196 #3456C7 #617DD6

Accessibility & contrast

On white

9.20
#274196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#274196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274196
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274196#FFFFFF#000000##FFFFFF
##2741961.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D99
Deuteranopia (green-blind)
#004394
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #274196;
/* rgb */ color: rgb(39, 65, 150);
/* oklch */ color: oklch(40.8% 0.143 266.9);
Tailwind
colors: {
  custom: {
    50: '#7175b6',
    500: '#274196',
    950: '#000000',
  },
}
SCSS
$custom: #274196;
$custom-light: #7175b6;
$custom-dark: #000000;
JSON
{
  "hex": "#274196",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 150
  },
  "hsl": {
    "h": 225.946,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40807,
    "c": 0.14307,
    "h": 266.9
  },
  "luminance": 0.06414
}

Semantic roles & 50–950 ramp

primary
#274196
secondary
#BCA55D
accent
#BD46E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #274196

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

Preview Lab → · Contrast checker → · Palette generator →

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