#274282#274282

#274282 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.5% C 0.113 H 264.6°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#274282
RGBrgb(39, 66, 130)
HSLhsl(222, 54%, 33%)
HSVhsv(222, 70%, 51%)
CMYKcmyk(70%, 49.2%, 0%, 49%)
CIE-LABlab(29.26, 12.62, -39.15)
CIE-LCHlch(29.26, 41.14, 287.87°)
OKLaboklab(39.45% -0.0106 -0.1122)
OKLCHoklch(39.45% 0.113 264.6)
XYZxyz(6.8128, 5.9388, 21.9020)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274282 #826727
analogous
#276F82 #274282 #392782
triadic
#274282 #822742 #428227
tetradic
#274282 #82276F #826727 #278239
square
#274282 #82276F #826727 #278239
split-complementary
#274282 #823927 #6F8227
monochromatic
#0B1224 #192A53 #274282 #355AB1 #577ACD

Accessibility & contrast

On white

9.60
#274282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#274282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274282
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274282#FFFFFF#000000##FFFFFF
##2742821.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204984
Deuteranopia (green-blind)
#0B4181
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #274282;
/* rgb */ color: rgb(39, 66, 130);
/* oklch */ color: oklch(39.5% 0.113 264.6);
Tailwind
colors: {
  custom: {
    50: '#6c75a7',
    500: '#274282',
    950: '#000000',
  },
}
SCSS
$custom: #274282;
$custom-light: #6c75a7;
$custom-dark: #000000;
JSON
{
  "hex": "#274282",
  "rgb": {
    "r": 39,
    "g": 66,
    "b": 130
  },
  "hsl": {
    "h": 222.198,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39452,
    "c": 0.11268,
    "h": 264.6
  },
  "luminance": 0.05939
}

Semantic roles & 50–950 ramp

primary
#274282
secondary
#B19553
accent
#B24BDD
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #274282

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

Preview Lab → · Contrast checker → · Palette generator →

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