#274290#274290

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

Color values

HEX#274290
RGBrgb(39, 66, 144)
HSLhsl(225, 57%, 36%)
HSVhsv(225, 73%, 56%)
CMYKcmyk(72.9%, 54.2%, 0%, 43.5%)
CIE-LABlab(30.26, 18.06, -46.20)
CIE-LCHlch(30.26, 49.60, 291.35°)
OKLaboklab(40.53% -0.0089 -0.1329)
OKLCHoklch(40.53% 0.133 266.2)
XYZxyz(7.8172, 6.3406, 27.1920)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274290 #907527
analogous
#277690 #274290 #402790
triadic
#274290 #902742 #429027
tetradic
#274290 #902776 #907527 #279040
square
#274290 #902776 #907527 #279040
split-complementary
#274290 #904027 #769027
monochromatic
#0D1630 #1A2C60 #274290 #3458C0 #5E7CD3

Accessibility & contrast

On white

9.26
#274290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#274290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274290
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274290#FFFFFF#000000##FFFFFF
##2742901.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4C93
Deuteranopia (green-blind)
#00438E
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #274290;
/* rgb */ color: rgb(39, 66, 144);
/* oklch */ color: oklch(40.5% 0.133 266.2);
Tailwind
colors: {
  custom: {
    50: '#7075b1',
    500: '#274290',
    950: '#000000',
  },
}
SCSS
$custom: #274290;
$custom-light: #7075b1;
$custom-dark: #000000;
JSON
{
  "hex": "#274290",
  "rgb": {
    "r": 39,
    "g": 66,
    "b": 144
  },
  "hsl": {
    "h": 224.571,
    "s": 57.377,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40531,
    "c": 0.13319,
    "h": 266.2
  },
  "luminance": 0.06341
}

Semantic roles & 50–950 ramp

primary
#274290
secondary
#B9A05A
accent
#B947E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #274290

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

Preview Lab → · Contrast checker → · Palette generator →

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