#283E95#283E95

#283E95 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.2% C 0.145 H 268.3°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#283E95
RGBrgb(40, 62, 149)
HSLhsl(228, 58%, 37%)
HSVhsv(228, 73%, 58%)
CMYKcmyk(73.2%, 58.4%, 0%, 41.6%)
CIE-LABlab(29.58, 22.86, -50.36)
CIE-LCHlch(29.58, 55.30, 294.41°)
OKLaboklab(40.16% -0.0043 -0.1452)
OKLCHoklch(40.16% 0.145 268.3)
XYZxyz(8.0206, 6.0655, 29.1760)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283E95 #957F28
analogous
#287595 #283E95 #492895
triadic
#283E95 #95283E #3E9528
tetradic
#283E95 #952875 #957F28 #289549
square
#283E95 #952875 #957F28 #289549
split-complementary
#283E95 #954928 #759528
monochromatic
#0E1635 #1B2A65 #283E95 #3552C5 #627AD5

Accessibility & contrast

On white

9.49
#283E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#283E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283E95
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283E95#FFFFFF#000000##FFFFFF
##283E951.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#004193
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #283e95;
/* rgb */ color: rgb(40, 62, 149);
/* oklch */ color: oklch(40.2% 0.145 268.3);
Tailwind
colors: {
  custom: {
    50: '#7172b5',
    500: '#283e95',
    950: '#000000',
  },
}
SCSS
$custom: #283e95;
$custom-light: #7172b5;
$custom-dark: #000000;
JSON
{
  "hex": "#283e95",
  "rgb": {
    "r": 40,
    "g": 62,
    "b": 149
  },
  "hsl": {
    "h": 227.89,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40155,
    "c": 0.14524,
    "h": 268.3
  },
  "luminance": 0.06066
}

Semantic roles & 50–950 ramp

primary
#283E95
secondary
#BBA85E
accent
#C247E1
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #283E95

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

Preview Lab → · Contrast checker → · Palette generator →

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