#284294#284294

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

Color values

HEX#284294
RGBrgb(40, 66, 148)
HSLhsl(226, 57%, 37%)
HSVhsv(226, 73%, 58%)
CMYKcmyk(73%, 55.4%, 0%, 42%)
CIE-LABlab(30.60, 19.75, -48.08)
CIE-LCHlch(30.60, 51.98, 292.34°)
OKLaboklab(40.9% -0.0077 -0.1384)
OKLCHoklch(40.9% 0.139 266.8)
XYZxyz(8.1667, 6.4848, 28.8325)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284294 #947A28
analogous
#287894 #284294 #442894
triadic
#284294 #942842 #429428
tetradic
#284294 #942878 #947A28 #289444
square
#284294 #942878 #947A28 #289444
split-complementary
#284294 #944428 #789428
monochromatic
#0E1734 #1B2D64 #284294 #3557C4 #627DD5

Accessibility & contrast

On white

9.14
#284294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#284294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284294
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284294#FFFFFF#000000##FFFFFF
##2842941.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.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: #284294;
/* rgb */ color: rgb(40, 66, 148);
/* oklch */ color: oklch(40.9% 0.139 266.8);
Tailwind
colors: {
  custom: {
    50: '#7175b4',
    500: '#284294',
    950: '#000000',
  },
}
SCSS
$custom: #284294;
$custom-light: #7175b4;
$custom-dark: #000000;
JSON
{
  "hex": "#284294",
  "rgb": {
    "r": 40,
    "g": 66,
    "b": 148
  },
  "hsl": {
    "h": 225.556,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40902,
    "c": 0.13863,
    "h": 266.8
  },
  "luminance": 0.06486
}

Semantic roles & 50–950 ramp

primary
#284294
secondary
#BAA45E
accent
#BC47E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #284294

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

Preview Lab → · Contrast checker → · Palette generator →

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