#283FA0#283FA0

#283FA0 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.3% C 0.159 H 268.3°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#283FA0
RGBrgb(40, 63, 160)
HSLhsl(229, 60%, 39%)
HSVhsv(229, 75%, 63%)
CMYKcmyk(75%, 60.6%, 0%, 37.3%)
CIE-LABlab(30.74, 26.38, -55.15)
CIE-LCHlch(30.74, 61.13, 295.56°)
OKLaboklab(41.31% -0.0048 -0.1592)
OKLCHoklch(41.31% 0.159 268.3)
XYZxyz(8.9955, 6.5432, 34.0398)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283FA0 #A08928
analogous
#287BA0 #283FA0 #4D28A0
triadic
#283FA0 #A0283F #3FA028
tetradic
#283FA0 #A0287B #A08928 #28A04D
square
#283FA0 #A0287B #A08928 #28A04D
split-complementary
#283FA0 #A04D28 #7BA028
monochromatic
#10183E #1C2C6F #283FA0 #3855CD #697ED9

Accessibility & contrast

On white

9.10
#283FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#283FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283FA0
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283FA0#FFFFFF#000000##FFFFFF
##283FA01.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA3
Deuteranopia (green-blind)
#00439E
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #283fa0;
/* rgb */ color: rgb(40, 63, 160);
/* oklch */ color: oklch(41.3% 0.159 268.3);
Tailwind
colors: {
  custom: {
    50: '#7473bd',
    500: '#283fa0',
    950: '#000000',
  },
}
SCSS
$custom: #283fa0;
$custom-light: #7473bd;
$custom-dark: #000000;
JSON
{
  "hex": "#283fa0",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 160
  },
  "hsl": {
    "h": 228.5,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41306,
    "c": 0.1593,
    "h": 268.3
  },
  "luminance": 0.06544
}

Semantic roles & 50–950 ramp

primary
#283FA0
secondary
#C0AE64
accent
#C545E3
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #283FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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