#283B7B#283B7B

#283B7B is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.4% C 0.111 H 268.2°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#283B7B
RGBrgb(40, 59, 123)
HSLhsl(226, 51%, 32%)
HSVhsv(226, 67%, 48%)
CMYKcmyk(67.5%, 52%, 0%, 51.8%)
CIE-LABlab(26.76, 14.92, -38.79)
CIE-LCHlch(26.76, 41.56, 291.04°)
OKLaboklab(37.41% -0.0035 -0.1112)
OKLCHoklch(37.41% 0.111 268.2)
XYZxyz(6.0130, 5.0086, 19.3849)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B7B #7B6828
analogous
#28657B #283B7B #3F287B
triadic
#283B7B #7B283B #3B7B28
tetradic
#283B7B #7B2865 #7B6828 #287B3F
square
#283B7B #7B2865 #7B6828 #287B3F
split-complementary
#283B7B #7B3F28 #657B28
monochromatic
#0A0F1F #19254D #283B7B #3751A9 #5670C8

Accessibility & contrast

On white

10.49
#283B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#283B7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283B7B
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283B7B#FFFFFF#000000##FFFFFF
##283B7B1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17437D
Deuteranopia (green-blind)
#013C7A
Tritanopia (blue-blind)
#004A55
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #283b7b;
/* rgb */ color: rgb(40, 59, 123);
/* oklch */ color: oklch(37.4% 0.111 268.2);
Tailwind
colors: {
  custom: {
    50: '#6c70a2',
    500: '#283b7b',
    950: '#000000',
  },
}
SCSS
$custom: #283b7b;
$custom-light: #6c70a2;
$custom-dark: #000000;
JSON
{
  "hex": "#283b7b",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 123
  },
  "hsl": {
    "h": 226.265,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37406,
    "c": 0.11124,
    "h": 268.2
  },
  "luminance": 0.05009
}

Semantic roles & 50–950 ramp

primary
#283B7B
secondary
#AD9852
accent
#BA4DDA
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #283B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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