#283FA1#283FA1

#283FA1 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.4% C 0.161 H 268.3°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#283FA1
RGBrgb(40, 63, 161)
HSLhsl(229, 60%, 39%)
HSVhsv(229, 75%, 63%)
CMYKcmyk(75.2%, 60.9%, 0%, 36.9%)
CIE-LABlab(30.83, 26.76, -55.61)
CIE-LCHlch(30.83, 61.72, 295.69°)
OKLaboklab(41.39% -0.0048 -0.1606)
OKLCHoklch(41.39% 0.161 268.3)
XYZxyz(9.0834, 6.5784, 34.5023)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283FA1 #A18A28
analogous
#287CA1 #283FA1 #4E28A1
triadic
#283FA1 #A1283F #3FA128
tetradic
#283FA1 #A1287C #A18A28 #28A14E
square
#283FA1 #A1287C #A18A28 #28A14E
split-complementary
#283FA1 #A14E28 #7CA128
monochromatic
#10193F #1C2C70 #283FA1 #3955CE #6A7FDA

Accessibility & contrast

On white

9.07
#283FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#283FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283FA1
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283FA1#FFFFFF#000000##FFFFFF
##283FA11.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#00439F
Tritanopia (blue-blind)
#00586A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #283fa1;
/* rgb */ color: rgb(40, 63, 161);
/* oklch */ color: oklch(41.4% 0.161 268.3);
Tailwind
colors: {
  custom: {
    50: '#7473be',
    500: '#283fa1',
    950: '#000000',
  },
}
SCSS
$custom: #283fa1;
$custom-light: #7473be;
$custom-dark: #000000;
JSON
{
  "hex": "#283fa1",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 161
  },
  "hsl": {
    "h": 228.595,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41394,
    "c": 0.16067,
    "h": 268.3
  },
  "luminance": 0.06579
}

Semantic roles & 50–950 ramp

primary
#283FA1
secondary
#C0AF65
accent
#C544E3
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #283FA1

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

Preview Lab → · Contrast checker → · Palette generator →

#283FA1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva