#283BAA#283BAA

#283BAA is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.5% C 0.178 H 269.2°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#283BAA
RGBrgb(40, 59, 170)
HSLhsl(231, 62%, 41%)
HSVhsv(231, 76%, 67%)
CMYKcmyk(76.5%, 65.3%, 0%, 33.3%)
CIE-LABlab(30.59, 32.76, -61.41)
CIE-LCHlch(30.59, 69.61, 298.08°)
OKLaboklab(41.46% -0.0024 -0.1776)
OKLCHoklch(41.46% 0.178 269.2)
XYZxyz(9.6922, 6.4803, 38.7624)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283BAA #AA9728
analogous
#287CAA #283BAA #5628AA
triadic
#283BAA #AA283B #3BAA28
tetradic
#283BAA #AA287C #AA9728 #28AA56
square
#283BAA #AA287C #AA9728 #28AA56
split-complementary
#283BAA #AA5628 #7CAA28
monochromatic
#111947 #1C2A78 #283BAA #3E53D2 #6F7FDD

Accessibility & contrast

On white

9.15
#283BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#283BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283BAA
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283BAA#FFFFFF#000000##FFFFFF
##283BAA1.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0042A8
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #283baa;
/* rgb */ color: rgb(40, 59, 170);
/* oklch */ color: oklch(41.5% 0.178 269.2);
Tailwind
colors: {
  custom: {
    50: '#7771c4',
    500: '#283baa',
    950: '#000000',
  },
}
SCSS
$custom: #283baa;
$custom-light: #7771c4;
$custom-dark: #000000;
JSON
{
  "hex": "#283baa",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 170
  },
  "hsl": {
    "h": 231.231,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41464,
    "c": 0.17766,
    "h": 269.2
  },
  "luminance": 0.06481
}

Semantic roles & 50–950 ramp

primary
#283BAA
secondary
#C4B76A
accent
#CD43E5
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #283BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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