#283FA9#283FA9

#283FA9 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.1% C 0.172 H 268.4°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#283FA9
RGBrgb(40, 63, 169)
HSLhsl(229, 62%, 41%)
HSVhsv(229, 76%, 66%)
CMYKcmyk(76.3%, 62.7%, 0%, 33.7%)
CIE-LABlab(31.51, 29.77, -59.32)
CIE-LCHlch(31.51, 66.37, 296.65°)
OKLaboklab(42.11% -0.0049 -0.1715)
OKLCHoklch(42.11% 0.172 268.4)
XYZxyz(9.8115, 6.8696, 38.3373)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283FA9 #A99228
analogous
#287FA9 #283FA9 #5128A9
triadic
#283FA9 #A9283F #3FA928
tetradic
#283FA9 #A9287F #A99228 #28A951
square
#283FA9 #A9287F #A99228 #28A951
split-complementary
#283FA9 #A95128 #7FA928
monochromatic
#111A46 #1C2D78 #283FA9 #3D57D1 #6F82DD

Accessibility & contrast

On white

8.85
#283FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#283FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283FA9
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283FA9#FFFFFF#000000##FFFFFF
##283FA91.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AC
Deuteranopia (green-blind)
#0044A7
Tritanopia (blue-blind)
#005A6E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #283fa9;
/* rgb */ color: rgb(40, 63, 169);
/* oklch */ color: oklch(42.1% 0.172 268.4);
Tailwind
colors: {
  custom: {
    50: '#7673c3',
    500: '#283fa9',
    950: '#000000',
  },
}
SCSS
$custom: #283fa9;
$custom-light: #7673c3;
$custom-dark: #000000;
JSON
{
  "hex": "#283fa9",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 169
  },
  "hsl": {
    "h": 229.302,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42111,
    "c": 0.17153,
    "h": 268.4
  },
  "luminance": 0.06871
}

Semantic roles & 50–950 ramp

primary
#283FA9
secondary
#C4B369
accent
#C843E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #283FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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