#284083#284083

#284083 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.1% C 0.116 H 266.3°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#284083
RGBrgb(40, 64, 131)
HSLhsl(224, 53%, 34%)
HSVhsv(224, 69%, 51%)
CMYKcmyk(69.5%, 51.1%, 0%, 48.6%)
CIE-LABlab(28.79, 14.55, -40.53)
CIE-LCHlch(28.79, 43.06, 289.75°)
OKLaboklab(39.13% -0.0076 -0.1162)
OKLCHoklch(39.13% 0.116 266.3)
XYZxyz(6.8038, 5.7559, 22.2208)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284083 #836B28
analogous
#286D83 #284083 #3D2883
triadic
#284083 #832840 #408328
tetradic
#284083 #83286D #836B28 #28833D
square
#284083 #83286D #836B28 #28833D
split-complementary
#284083 #833D28 #6D8328
monochromatic
#0B1225 #1A2954 #284083 #3657B2 #5977CC

Accessibility & contrast

On white

9.76
#284083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#284083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284083
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284083#FFFFFF#000000##FFFFFF
##2840831.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4885
Deuteranopia (green-blind)
#014082
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #284083;
/* rgb */ color: rgb(40, 64, 131);
/* oklch */ color: oklch(39.1% 0.116 266.3);
Tailwind
colors: {
  custom: {
    50: '#6d74a7',
    500: '#284083',
    950: '#000000',
  },
}
SCSS
$custom: #284083;
$custom-light: #6d74a7;
$custom-dark: #000000;
JSON
{
  "hex": "#284083",
  "rgb": {
    "r": 40,
    "g": 64,
    "b": 131
  },
  "hsl": {
    "h": 224.176,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3913,
    "c": 0.11648,
    "h": 266.3
  },
  "luminance": 0.05757
}

Semantic roles & 50–950 ramp

primary
#284083
secondary
#B19955
accent
#B64BDD
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #284083

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

Preview Lab → · Contrast checker → · Palette generator →

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