#274095#274095

#274095 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.5% C 0.143 H 267.2°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#274095
RGBrgb(39, 64, 149)
HSLhsl(226, 59%, 37%)
HSVhsv(226, 74%, 58%)
CMYKcmyk(73.8%, 57%, 0%, 41.6%)
CIE-LABlab(30.08, 21.36, -49.55)
CIE-LCHlch(30.08, 53.96, 293.32°)
OKLaboklab(40.52% -0.0069 -0.1428)
OKLCHoklch(40.52% 0.143 267.2)
XYZxyz(8.0930, 6.2672, 29.2111)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274095 #957C27
analogous
#277795 #274095 #452795
triadic
#274095 #952740 #409527
tetradic
#274095 #952777 #957C27 #279545
square
#274095 #952777 #957C27 #279545
split-complementary
#274095 #954527 #779527
monochromatic
#0E1634 #1A2B64 #274095 #3455C6 #617BD6

Accessibility & contrast

On white

9.32
#274095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#274095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274095
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274095#FFFFFF#000000##FFFFFF
##2740951.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C98
Deuteranopia (green-blind)
#004293
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #274095;
/* rgb */ color: rgb(39, 64, 149);
/* oklch */ color: oklch(40.5% 0.143 267.2);
Tailwind
colors: {
  custom: {
    50: '#7174b5',
    500: '#274095',
    950: '#000000',
  },
}
SCSS
$custom: #274095;
$custom-light: #7174b5;
$custom-dark: #000000;
JSON
{
  "hex": "#274095",
  "rgb": {
    "r": 39,
    "g": 64,
    "b": 149
  },
  "hsl": {
    "h": 226.364,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40516,
    "c": 0.14296,
    "h": 267.2
  },
  "luminance": 0.06268
}

Semantic roles & 50–950 ramp

primary
#274095
secondary
#BBA65D
accent
#BE46E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #274095

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

Preview Lab → · Contrast checker → · Palette generator →

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