#283B94#283B94

#283B94 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.148 H 269.3°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#283B94
RGBrgb(40, 59, 148)
HSLhsl(229, 57%, 37%)
HSVhsv(229, 73%, 58%)
CMYKcmyk(73%, 60.1%, 0%, 42%)
CIE-LABlab(28.69, 24.51, -51.20)
CIE-LCHlch(28.69, 56.76, 295.58°)
OKLaboklab(39.46% -0.0019 -0.1477)
OKLCHoklch(39.46% 0.148 269.3)
XYZxyz(7.7825, 5.7164, 28.7045)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B94 #948128
analogous
#287194 #283B94 #4B2894
triadic
#283B94 #94283B #3B9428
tetradic
#283B94 #942871 #948128 #28944B
square
#283B94 #942871 #948128 #28944B
split-complementary
#283B94 #944B28 #719428
monochromatic
#0E1534 #1B2864 #283B94 #354EC4 #6276D5

Accessibility & contrast

On white

9.80
#283B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#283B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283B94
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283B94#FFFFFF#000000##FFFFFF
##283B941.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004997
Deuteranopia (green-blind)
#003F92
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #283b94;
/* rgb */ color: rgb(40, 59, 148);
/* oklch */ color: oklch(39.5% 0.148 269.3);
Tailwind
colors: {
  custom: {
    50: '#7170b4',
    500: '#283b94',
    950: '#000000',
  },
}
SCSS
$custom: #283b94;
$custom-light: #7170b4;
$custom-dark: #000000;
JSON
{
  "hex": "#283b94",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 148
  },
  "hsl": {
    "h": 229.444,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39464,
    "c": 0.14769,
    "h": 269.3
  },
  "luminance": 0.05717
}

Semantic roles & 50–950 ramp

primary
#283B94
secondary
#BAAA5E
accent
#C647E1
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #283B94

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

Preview Lab → · Contrast checker → · Palette generator →

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