#283BBB#283BBB

#283BBB is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.1% C 0.200 H 269.0°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#283BBB
RGBrgb(40, 59, 187)
HSLhsl(232, 65%, 45%)
HSVhsv(232, 79%, 73%)
CMYKcmyk(78.6%, 68.4%, 0%, 26.7%)
CIE-LABlab(32.18, 38.94, -68.92)
CIE-LCHlch(32.18, 79.16, 299.47°)
OKLaboklab(43.11% -0.0036 -0.1996)
OKLCHoklch(43.11% 0.2 269)
XYZxyz(11.4056, 7.1656, 47.7861)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283BBB #BBA828
analogous
#2885BB #283BBB #5F28BB
triadic
#283BBB #BB283B #3BBB28
tetradic
#283BBB #BB2885 #BBA828 #28BB5F
square
#283BBB #BB2885 #BBA828 #28BB5F
split-complementary
#283BBB #BB5F28 #85BB28
monochromatic
#121B56 #1D2B89 #283BBB #485BD8 #7B88E3

Accessibility & contrast

On white

8.63
#283BBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#283BBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283BBB
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283BBB#FFFFFF#000000##FFFFFF
##283BBB1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#0045B9
Tritanopia (blue-blind)
#005E76
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #283bbb;
/* rgb */ color: rgb(40, 59, 187);
/* oklch */ color: oklch(43.1% 0.200 269.0);
Tailwind
colors: {
  custom: {
    50: '#7b71d1',
    500: '#283bbb',
    950: '#000000',
  },
}
SCSS
$custom: #283bbb;
$custom-light: #7b71d1;
$custom-dark: #000000;
JSON
{
  "hex": "#283bbb",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 187
  },
  "hsl": {
    "h": 232.245,
    "s": 64.758,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43106,
    "c": 0.1996,
    "h": 269
  },
  "luminance": 0.07167
}

Semantic roles & 50–950 ramp

primary
#283BBB
secondary
#CBC074
accent
#D240E8
background
#F8F6FD
surface
#EFECFA
border
#CAC7D3
text
#0B0714
muted
#7C7A83

Preview Lab

Preview with #283BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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