#283FA3#283FA3

#283FA3 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.6% C 0.163 H 268.3°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#283FA3
RGBrgb(40, 63, 163)
HSLhsl(229, 61%, 40%)
HSVhsv(229, 75%, 64%)
CMYKcmyk(75.5%, 61.3%, 0%, 36.1%)
CIE-LABlab(31.00, 27.51, -56.55)
CIE-LCHlch(31.00, 62.89, 295.95°)
OKLaboklab(41.57% -0.0048 -0.1633)
OKLCHoklch(41.57% 0.163 268.3)
XYZxyz(9.2611, 6.6495, 35.4386)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283FA3 #A38C28
analogous
#287DA3 #283FA3 #4E28A3
triadic
#283FA3 #A3283F #3FA328
tetradic
#283FA3 #A3287D #A38C28 #28A34E
square
#283FA3 #A3287D #A38C28 #28A34E
split-complementary
#283FA3 #A34E28 #7DA328
monochromatic
#101941 #1C2C72 #283FA3 #3A55CF #6B80DB

Accessibility & contrast

On white

9.01
#283FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#283FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283FA3
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283FA3#FFFFFF#000000##FFFFFF
##283FA31.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA6
Deuteranopia (green-blind)
#0043A1
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #283fa3;
/* rgb */ color: rgb(40, 63, 163);
/* oklch */ color: oklch(41.6% 0.163 268.3);
Tailwind
colors: {
  custom: {
    50: '#7573bf',
    500: '#283fa3',
    950: '#000000',
  },
}
SCSS
$custom: #283fa3;
$custom-light: #7573bf;
$custom-dark: #000000;
JSON
{
  "hex": "#283fa3",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 163
  },
  "hsl": {
    "h": 228.78,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41572,
    "c": 0.16341,
    "h": 268.3
  },
  "luminance": 0.0665
}

Semantic roles & 50–950 ramp

primary
#283FA3
secondary
#C1B066
accent
#C644E4
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #283FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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