#283BA4#283BA4

#283BA4 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.9% C 0.170 H 269.3°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#283BA4
RGBrgb(40, 59, 164)
HSLhsl(231, 61%, 40%)
HSVhsv(231, 76%, 64%)
CMYKcmyk(75.6%, 64%, 0%, 35.7%)
CIE-LABlab(30.06, 30.54, -58.69)
CIE-LCHlch(30.06, 66.16, 297.49°)
OKLaboklab(40.9% -0.0021 -0.1697)
OKLCHoklch(40.9% 0.17 269.3)
XYZxyz(9.1376, 6.2584, 35.8412)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283BA4 #A49128
analogous
#2879A4 #283BA4 #5328A4
triadic
#283BA4 #A4283B #3BA428
tetradic
#283BA4 #A42879 #A49128 #28A453
square
#283BA4 #A42879 #A49128 #28A453
split-complementary
#283BA4 #A45328 #79A428
monochromatic
#101842 #1C2973 #283BA4 #3A51CF #6B7DDB

Accessibility & contrast

On white

9.33
#283BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#283BA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283BA4
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283BA4#FFFFFF#000000##FFFFFF
##283BA41.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA7
Deuteranopia (green-blind)
#0041A2
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #283ba4;
/* rgb */ color: rgb(40, 59, 164);
/* oklch */ color: oklch(40.9% 0.170 269.3);
Tailwind
colors: {
  custom: {
    50: '#7571c0',
    500: '#283ba4',
    950: '#000000',
  },
}
SCSS
$custom: #283ba4;
$custom-light: #7571c0;
$custom-dark: #000000;
JSON
{
  "hex": "#283ba4",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 164
  },
  "hsl": {
    "h": 230.806,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.40903,
    "c": 0.16967,
    "h": 269.3
  },
  "luminance": 0.06259
}

Semantic roles & 50–950 ramp

primary
#283BA4
secondary
#C1B466
accent
#CB44E4
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #283BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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