#274395#274395

#274395 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.1% C 0.139 H 266.1°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#274395
RGBrgb(39, 67, 149)
HSLhsl(225, 59%, 37%)
HSVhsv(225, 74%, 58%)
CMYKcmyk(73.8%, 55%, 0%, 41.6%)
CIE-LABlab(30.91, 19.32, -48.19)
CIE-LCHlch(30.91, 51.92, 291.85°)
OKLaboklab(41.15% -0.0094 -0.1388)
OKLCHoklch(41.15% 0.139 266.1)
XYZxyz(8.2668, 6.6147, 29.2690)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274395 #957927
analogous
#277A95 #274395 #422795
triadic
#274395 #952743 #439527
tetradic
#274395 #95277A #957927 #279542
square
#274395 #95277A #957927 #279542
split-complementary
#274395 #954227 #7A9527
monochromatic
#0E1734 #1A2D64 #274395 #3459C6 #617FD6

Accessibility & contrast

On white

9.04
#274395 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#274395 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274395
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274395#FFFFFF#000000##FFFFFF
##2743951.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024E98
Deuteranopia (green-blind)
#004493
Tritanopia (blue-blind)
#005765
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #274395;
/* rgb */ color: rgb(39, 67, 149);
/* oklch */ color: oklch(41.1% 0.139 266.1);
Tailwind
colors: {
  custom: {
    50: '#7176b5',
    500: '#274395',
    950: '#000000',
  },
}
SCSS
$custom: #274395;
$custom-light: #7176b5;
$custom-dark: #000000;
JSON
{
  "hex": "#274395",
  "rgb": {
    "r": 39,
    "g": 67,
    "b": 149
  },
  "hsl": {
    "h": 224.727,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41146,
    "c": 0.13907,
    "h": 266.1
  },
  "luminance": 0.06616
}

Semantic roles & 50–950 ramp

primary
#274395
secondary
#BBA35D
accent
#BA46E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #274395

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

Preview Lab → · Contrast checker → · Palette generator →

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