#283BAF#283BAF

#283BAF is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.9% C 0.184 H 269.2°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#283BAF
RGBrgb(40, 59, 175)
HSLhsl(232, 63%, 42%)
HSVhsv(232, 77%, 69%)
CMYKcmyk(77.1%, 66.3%, 0%, 31.4%)
CIE-LABlab(31.05, 34.60, -63.65)
CIE-LCHlch(31.05, 72.45, 298.53°)
OKLaboklab(41.94% -0.0027 -0.1842)
OKLCHoklch(41.94% 0.184 269.2)
XYZxyz(10.1742, 6.6731, 41.3009)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283BAF #AF9C28
analogous
#287EAF #283BAF #5928AF
triadic
#283BAF #AF283B #3BAF28
tetradic
#283BAF #AF287E #AF9C28 #28AF59
square
#283BAF #AF287E #AF9C28 #28AF59
split-complementary
#283BAF #AF5928 #7EAF28
monochromatic
#11194B #1D2A7D #283BAF #4155D4 #7382DF

Accessibility & contrast

On white

8.99
#283BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283BAF
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283BAF#FFFFFF#000000##FFFFFF
##283BAF1.008.992.338.99
#FFFFFF8.991.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0043AD
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #283baf;
/* rgb */ color: rgb(40, 59, 175);
/* oklch */ color: oklch(41.9% 0.184 269.2);
Tailwind
colors: {
  custom: {
    50: '#7871c8',
    500: '#283baf',
    950: '#000000',
  },
}
SCSS
$custom: #283baf;
$custom-light: #7871c8;
$custom-dark: #000000;
JSON
{
  "hex": "#283baf",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 175
  },
  "hsl": {
    "h": 231.556,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41939,
    "c": 0.18421,
    "h": 269.2
  },
  "luminance": 0.06674
}

Semantic roles & 50–950 ramp

primary
#283BAF
secondary
#C6B96D
accent
#CF42E6
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #283BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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