#283C97#283C97

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

Color values

HEX#283C97
RGBrgb(40, 60, 151)
HSLhsl(229, 58%, 37%)
HSVhsv(229, 74%, 59%)
CMYKcmyk(73.5%, 60.3%, 0%, 40.8%)
CIE-LABlab(29.20, 24.97, -52.19)
CIE-LCHlch(29.20, 57.86, 295.57°)
OKLaboklab(39.92% -0.0027 -0.1506)
OKLCHoklch(39.92% 0.151 269)
XYZxyz(8.0749, 5.9164, 29.9886)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C97 #978328
analogous
#287497 #283C97 #4B2897
triadic
#283C97 #97283C #3C9728
tetradic
#283C97 #972874 #978328 #28974B
square
#283C97 #972874 #978328 #28974B
split-complementary
#283C97 #974B28 #749728
monochromatic
#0E1636 #1B2967 #283C97 #354FC7 #6478D6

Accessibility & contrast

On white

9.62
#283C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#283C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283C97
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C97#FFFFFF#000000##FFFFFF
##283C971.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #283c97;
/* rgb */ color: rgb(40, 60, 151);
/* oklch */ color: oklch(39.9% 0.151 269.0);
Tailwind
colors: {
  custom: {
    50: '#7271b6',
    500: '#283c97',
    950: '#000000',
  },
}
SCSS
$custom: #283c97;
$custom-light: #7271b6;
$custom-dark: #000000;
JSON
{
  "hex": "#283c97",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 151
  },
  "hsl": {
    "h": 229.189,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39925,
    "c": 0.15062,
    "h": 269
  },
  "luminance": 0.05917
}

Semantic roles & 50–950 ramp

primary
#283C97
secondary
#BCAB5F
accent
#C546E1
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #283C97

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

Preview Lab → · Contrast checker → · Palette generator →

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