#283C94#283C94

#283C94 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.7% C 0.146 H 268.9°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#283C94
RGBrgb(40, 60, 148)
HSLhsl(229, 57%, 37%)
HSVhsv(229, 73%, 58%)
CMYKcmyk(73%, 59.5%, 0%, 42%)
CIE-LABlab(28.95, 23.83, -50.76)
CIE-LCHlch(28.95, 56.08, 295.15°)
OKLaboklab(39.66% -0.0027 -0.1464)
OKLCHoklch(39.66% 0.146 268.9)
XYZxyz(7.8344, 5.8202, 28.7217)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C94 #948028
analogous
#287294 #283C94 #4A2894
triadic
#283C94 #94283C #3C9428
tetradic
#283C94 #942872 #948028 #28944A
square
#283C94 #942872 #948028 #28944A
split-complementary
#283C94 #944A28 #729428
monochromatic
#0E1534 #1B2864 #283C94 #3550C4 #6277D5

Accessibility & contrast

On white

9.70
#283C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#283C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283C94
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C94#FFFFFF#000000##FFFFFF
##283C941.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #283c94;
/* rgb */ color: rgb(40, 60, 148);
/* oklch */ color: oklch(39.7% 0.146 268.9);
Tailwind
colors: {
  custom: {
    50: '#7171b4',
    500: '#283c94',
    950: '#000000',
  },
}
SCSS
$custom: #283c94;
$custom-light: #7171b4;
$custom-dark: #000000;
JSON
{
  "hex": "#283c94",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 148
  },
  "hsl": {
    "h": 228.889,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39664,
    "c": 0.14641,
    "h": 268.9
  },
  "luminance": 0.05821
}

Semantic roles & 50–950 ramp

primary
#283C94
secondary
#BAA95E
accent
#C447E1
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #283C94

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

Preview Lab → · Contrast checker → · Palette generator →

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