#283EB1#283EB1

#283EB1 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.7% C 0.183 H 268.6°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#283EB1
RGBrgb(40, 62, 177)
HSLhsl(230, 63%, 43%)
HSVhsv(230, 77%, 69%)
CMYKcmyk(77.4%, 65%, 0%, 30.6%)
CIE-LABlab(31.96, 33.40, -63.35)
CIE-LCHlch(31.96, 71.61, 297.80°)
OKLaboklab(42.67% -0.0045 -0.1833)
OKLCHoklch(42.67% 0.183 268.6)
XYZxyz(10.5308, 7.0695, 42.3960)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283EB1 #B19B28
analogous
#2882B1 #283EB1 #5628B1
triadic
#283EB1 #B1283E #3EB128
tetradic
#283EB1 #B12882 #B19B28 #28B156
square
#283EB1 #B12882 #B19B28 #28B156
split-complementary
#283EB1 #B15628 #82B128
monochromatic
#111B4D #1D2D7F #283EB1 #4259D4 #7485E0

Accessibility & contrast

On white

8.70
#283EB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#283EB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283EB1
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283EB1#FFFFFF#000000##FFFFFF
##283EB11.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0045AF
Tritanopia (blue-blind)
#005C72
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #283eb1;
/* rgb */ color: rgb(40, 62, 177);
/* oklch */ color: oklch(42.7% 0.183 268.6);
Tailwind
colors: {
  custom: {
    50: '#7873c9',
    500: '#283eb1',
    950: '#000000',
  },
}
SCSS
$custom: #283eb1;
$custom-light: #7873c9;
$custom-dark: #000000;
JSON
{
  "hex": "#283eb1",
  "rgb": {
    "r": 40,
    "g": 62,
    "b": 177
  },
  "hsl": {
    "h": 230.365,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42665,
    "c": 0.18333,
    "h": 268.6
  },
  "luminance": 0.07071
}

Semantic roles & 50–950 ramp

primary
#283EB1
secondary
#C7B96E
accent
#CC42E6
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #283EB1

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

Preview Lab → · Contrast checker → · Palette generator →

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