#283BAE#283BAE

#283BAE is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.8% C 0.183 H 269.2°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#283BAE
RGBrgb(40, 59, 174)
HSLhsl(231, 63%, 42%)
HSVhsv(231, 77%, 68%)
CMYKcmyk(77%, 66.1%, 0%, 31.8%)
CIE-LABlab(30.96, 34.23, -63.21)
CIE-LCHlch(30.96, 71.88, 298.44°)
OKLaboklab(41.84% -0.0026 -0.1829)
OKLCHoklch(41.84% 0.183 269.2)
XYZxyz(10.0764, 6.6339, 40.7856)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283BAE #AE9B28
analogous
#287EAE #283BAE #5828AE
triadic
#283BAE #AE283B #3BAE28
tetradic
#283BAE #AE287E #AE9B28 #28AE58
square
#283BAE #AE287E #AE9B28 #28AE58
split-complementary
#283BAE #AE5828 #7EAE28
monochromatic
#11194A #1D2A7C #283BAE #4055D3 #7281DF

Accessibility & contrast

On white

9.02
#283BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#283BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283BAE
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283BAE#FFFFFF#000000##FFFFFF
##283BAE1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0043AC
Tritanopia (blue-blind)
#005A6F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #283bae;
/* rgb */ color: rgb(40, 59, 174);
/* oklch */ color: oklch(41.8% 0.183 269.2);
Tailwind
colors: {
  custom: {
    50: '#7871c7',
    500: '#283bae',
    950: '#000000',
  },
}
SCSS
$custom: #283bae;
$custom-light: #7871c7;
$custom-dark: #000000;
JSON
{
  "hex": "#283bae",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 174
  },
  "hsl": {
    "h": 231.493,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41844,
    "c": 0.18291,
    "h": 269.2
  },
  "luminance": 0.06635
}

Semantic roles & 50–950 ramp

primary
#283BAE
secondary
#C6B96C
accent
#CE42E6
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #283BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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