#283B7E#283B7E

#283B7E is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.6% C 0.116 H 268.4°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#283B7E
RGBrgb(40, 59, 126)
HSLhsl(227, 52%, 33%)
HSVhsv(227, 68%, 49%)
CMYKcmyk(68.3%, 53.2%, 0%, 50.6%)
CIE-LABlab(26.98, 16.08, -40.33)
CIE-LCHlch(26.98, 43.41, 291.73°)
OKLaboklab(37.64% -0.0032 -0.1157)
OKLCHoklch(37.64% 0.116 268.4)
XYZxyz(6.2036, 5.0848, 20.3892)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B7E #7E6B28
analogous
#28667E #283B7E #40287E
triadic
#283B7E #7E283B #3B7E28
tetradic
#283B7E #7E2866 #7E6B28 #287E40
square
#283B7E #7E2866 #7E6B28 #287E40
split-complementary
#283B7E #7E4028 #667E28
monochromatic
#0B0F21 #192550 #283B7E #3751AC #5770CA

Accessibility & contrast

On white

10.41
#283B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#283B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283B7E
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283B7E#FFFFFF#000000##FFFFFF
##283B7E1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134480
Deuteranopia (green-blind)
#003C7D
Tritanopia (blue-blind)
#004B56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #283b7e;
/* rgb */ color: rgb(40, 59, 126);
/* oklch */ color: oklch(37.6% 0.116 268.4);
Tailwind
colors: {
  custom: {
    50: '#6c70a4',
    500: '#283b7e',
    950: '#000000',
  },
}
SCSS
$custom: #283b7e;
$custom-light: #6c70a4;
$custom-dark: #000000;
JSON
{
  "hex": "#283b7e",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 126
  },
  "hsl": {
    "h": 226.744,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37639,
    "c": 0.11576,
    "h": 268.4
  },
  "luminance": 0.05085
}

Semantic roles & 50–950 ramp

primary
#283B7E
secondary
#AF9A53
accent
#BC4DDB
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #283B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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