#283189#283189

#283189 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.5% C 0.145 H 272.4°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#283189
RGBrgb(40, 49, 137)
HSLhsl(234, 55%, 35%)
HSVhsv(234, 71%, 54%)
CMYKcmyk(70.8%, 64.2%, 0%, 46.3%)
CIE-LABlab(25.12, 27.11, -50.22)
CIE-LCHlch(25.12, 57.07, 298.36°)
OKLaboklab(36.53% 0.0062 -0.1449)
OKLCHoklch(36.53% 0.145 272.4)
XYZxyz(6.4872, 4.4533, 24.1797)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283189 #898028
analogous
#286289 #283189 #502889
triadic
#283189 #892831 #318928
tetradic
#283189 #892862 #898028 #288950
square
#283189 #892862 #898028 #288950
split-complementary
#283189 #895028 #628928
monochromatic
#0C0F2A #1A205A #283189 #3642B8 #5C67CF

Accessibility & contrast

On white

11.11
#283189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#283189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283189
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283189#FFFFFF#000000##FFFFFF
##2831891.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#003787
Tritanopia (blue-blind)
#004758
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #283189;
/* rgb */ color: rgb(40, 49, 137);
/* oklch */ color: oklch(36.5% 0.145 272.4);
Tailwind
colors: {
  custom: {
    50: '#7069ac',
    500: '#283189',
    950: '#000000',
  },
}
SCSS
$custom: #283189;
$custom-light: #7069ac;
$custom-dark: #000000;
JSON
{
  "hex": "#283189",
  "rgb": {
    "r": 40,
    "g": 49,
    "b": 137
  },
  "hsl": {
    "h": 234.433,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36529,
    "c": 0.14506,
    "h": 272.4
  },
  "luminance": 0.04454
}

Semantic roles & 50–950 ramp

primary
#283189
secondary
#B5AC58
accent
#D04ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #283189

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

Preview Lab → · Contrast checker → · Palette generator →

#283189 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva