#274195#274195

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

Color values

HEX#274195
RGBrgb(39, 65, 149)
HSLhsl(226, 59%, 37%)
HSVhsv(226, 74%, 58%)
CMYKcmyk(73.8%, 56.4%, 0%, 41.6%)
CIE-LABlab(30.35, 20.68, -49.10)
CIE-LCHlch(30.35, 53.28, 292.84°)
OKLaboklab(40.73% -0.0077 -0.1414)
OKLCHoklch(40.73% 0.142 266.9)
XYZxyz(8.1499, 6.3810, 29.2301)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274195 #957B27
analogous
#277895 #274195 #442795
triadic
#274195 #952741 #419527
tetradic
#274195 #952778 #957B27 #279544
square
#274195 #952778 #957B27 #279544
split-complementary
#274195 #954427 #789527
monochromatic
#0E1734 #1A2C64 #274195 #3456C6 #617CD6

Accessibility & contrast

On white

9.23
#274195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274195
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274195#FFFFFF#000000##FFFFFF
##2741951.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D98
Deuteranopia (green-blind)
#004393
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #274195;
/* rgb */ color: rgb(39, 65, 149);
/* oklch */ color: oklch(40.7% 0.142 266.9);
Tailwind
colors: {
  custom: {
    50: '#7175b5',
    500: '#274195',
    950: '#000000',
  },
}
SCSS
$custom: #274195;
$custom-light: #7175b5;
$custom-dark: #000000;
JSON
{
  "hex": "#274195",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 149
  },
  "hsl": {
    "h": 225.818,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40725,
    "c": 0.14166,
    "h": 266.9
  },
  "luminance": 0.06382
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #274195

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

Preview Lab → · Contrast checker → · Palette generator →

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