#283FAB#283FAB

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

Color values

HEX#283FAB
RGBrgb(40, 63, 171)
HSLhsl(229, 62%, 41%)
HSVhsv(229, 77%, 67%)
CMYKcmyk(76.6%, 63.2%, 0%, 32.9%)
CIE-LABlab(31.68, 30.52, -60.23)
CIE-LCHlch(31.68, 67.52, 296.87°)
OKLaboklab(42.29% -0.0049 -0.1741)
OKLCHoklch(42.29% 0.174 268.4)
XYZxyz(10.0007, 6.9453, 39.3337)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283FAB #AB9428
analogous
#2881AB #283FAB #5328AB
triadic
#283FAB #AB283F #3FAB28
tetradic
#283FAB #AB2881 #AB9428 #28AB53
square
#283FAB #AB2881 #AB9428 #28AB53
split-complementary
#283FAB #AB5328 #81AB28
monochromatic
#111A48 #1C2D79 #283FAB #3E58D2 #7083DE

Accessibility & contrast

On white

8.79
#283FAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#283FAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283FAB
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283FAB#FFFFFF#000000##FFFFFF
##283FAB1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AE
Deuteranopia (green-blind)
#0045A9
Tritanopia (blue-blind)
#005B6F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #283fab;
/* rgb */ color: rgb(40, 63, 171);
/* oklch */ color: oklch(42.3% 0.174 268.4);
Tailwind
colors: {
  custom: {
    50: '#7774c5',
    500: '#283fab',
    950: '#000000',
  },
}
SCSS
$custom: #283fab;
$custom-light: #7774c5;
$custom-dark: #000000;
JSON
{
  "hex": "#283fab",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 171
  },
  "hsl": {
    "h": 229.466,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42293,
    "c": 0.17421,
    "h": 268.4
  },
  "luminance": 0.06946
}

Semantic roles & 50–950 ramp

primary
#283FAB
secondary
#C4B56A
accent
#C943E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #283FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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