#283C98#283C98

#283C98 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.0% C 0.152 H 269.0°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#283C98
RGBrgb(40, 60, 152)
HSLhsl(229, 58%, 38%)
HSVhsv(229, 74%, 60%)
CMYKcmyk(73.7%, 60.5%, 0%, 40.4%)
CIE-LABlab(29.28, 25.36, -52.67)
CIE-LCHlch(29.28, 58.45, 295.71°)
OKLaboklab(40.01% -0.0027 -0.152)
OKLCHoklch(40.01% 0.152 269)
XYZxyz(8.1565, 5.9490, 30.4181)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C98 #988428
analogous
#287498 #283C98 #4C2898
triadic
#283C98 #98283C #3C9828
tetradic
#283C98 #982874 #988428 #28984C
square
#283C98 #982874 #988428 #28984C
split-complementary
#283C98 #984C28 #749828
monochromatic
#0F1637 #1B2968 #283C98 #354FC8 #6479D6

Accessibility & contrast

On white

9.59
#283C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#283C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283C98
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C98#FFFFFF#000000##FFFFFF
##283C981.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9B
Deuteranopia (green-blind)
#004096
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #283c98;
/* rgb */ color: rgb(40, 60, 152);
/* oklch */ color: oklch(40.0% 0.152 269.0);
Tailwind
colors: {
  custom: {
    50: '#7271b7',
    500: '#283c98',
    950: '#000000',
  },
}
SCSS
$custom: #283c98;
$custom-light: #7271b7;
$custom-dark: #000000;
JSON
{
  "hex": "#283c98",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 152
  },
  "hsl": {
    "h": 229.286,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40012,
    "c": 0.15201,
    "h": 269
  },
  "luminance": 0.0595
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #283C98

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

Preview Lab → · Contrast checker → · Palette generator →

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