#274294#274294

#274294 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.9% C 0.139 H 266.5°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#274294
RGBrgb(39, 66, 148)
HSLhsl(225, 58%, 37%)
HSVhsv(225, 74%, 58%)
CMYKcmyk(73.6%, 55.4%, 0%, 42%)
CIE-LABlab(30.56, 19.61, -48.16)
CIE-LCHlch(30.56, 52.00, 292.16°)
OKLaboklab(40.85% -0.0086 -0.1387)
OKLCHoklch(40.85% 0.139 266.5)
XYZxyz(8.1283, 6.4650, 28.8307)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274294 #947927
analogous
#277994 #274294 #432794
triadic
#274294 #942742 #429427
tetradic
#274294 #942779 #947927 #279443
square
#274294 #942779 #947927 #279443
split-complementary
#274294 #944327 #799427
monochromatic
#0D1733 #1A2C64 #274294 #3458C4 #607DD5

Accessibility & contrast

On white

9.16
#274294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#274294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274294
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274294#FFFFFF#000000##FFFFFF
##2742941.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D97
Deuteranopia (green-blind)
#004392
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #274294;
/* rgb */ color: rgb(39, 66, 148);
/* oklch */ color: oklch(40.9% 0.139 266.5);
Tailwind
colors: {
  custom: {
    50: '#7175b4',
    500: '#274294',
    950: '#000000',
  },
}
SCSS
$custom: #274294;
$custom-light: #7175b4;
$custom-dark: #000000;
JSON
{
  "hex": "#274294",
  "rgb": {
    "r": 39,
    "g": 66,
    "b": 148
  },
  "hsl": {
    "h": 225.138,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40853,
    "c": 0.13894,
    "h": 266.5
  },
  "luminance": 0.06466
}

Semantic roles & 50–950 ramp

primary
#274294
secondary
#BBA35C
accent
#BB46E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #274294

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

Preview Lab → · Contrast checker → · Palette generator →

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