#283B98#283B98

#283B98 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.8% C 0.153 H 269.3°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#283B98
RGBrgb(40, 59, 152)
HSLhsl(230, 58%, 38%)
HSVhsv(230, 74%, 60%)
CMYKcmyk(73.7%, 61.2%, 0%, 40.4%)
CIE-LABlab(29.02, 26.03, -53.10)
CIE-LCHlch(29.02, 59.14, 296.11°)
OKLaboklab(39.82% -0.0019 -0.1533)
OKLCHoklch(39.82% 0.153 269.3)
XYZxyz(8.1046, 5.8452, 30.4008)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B98 #988528
analogous
#287398 #283B98 #4D2898
triadic
#283B98 #98283B #3B9828
tetradic
#283B98 #982873 #988528 #28984D
square
#283B98 #982873 #988528 #28984D
split-complementary
#283B98 #984D28 #739828
monochromatic
#0F1537 #1B2868 #283B98 #354EC8 #6478D6

Accessibility & contrast

On white

9.68
#283B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#283B98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283B98
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283B98#FFFFFF#000000##FFFFFF
##283B981.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9B
Deuteranopia (green-blind)
#003F96
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #283b98;
/* rgb */ color: rgb(40, 59, 152);
/* oklch */ color: oklch(39.8% 0.153 269.3);
Tailwind
colors: {
  custom: {
    50: '#7270b7',
    500: '#283b98',
    950: '#000000',
  },
}
SCSS
$custom: #283b98;
$custom-light: #7270b7;
$custom-dark: #000000;
JSON
{
  "hex": "#283b98",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 152
  },
  "hsl": {
    "h": 229.821,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39815,
    "c": 0.15328,
    "h": 269.3
  },
  "luminance": 0.05846
}

Semantic roles & 50–950 ramp

primary
#283B98
secondary
#BCAC60
accent
#C746E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #283B98

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

Preview Lab → · Contrast checker → · Palette generator →

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