#283BA2#283BA2

#283BA2 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.7% C 0.167 H 269.3°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#283BA2
RGBrgb(40, 59, 162)
HSLhsl(231, 60%, 40%)
HSVhsv(231, 75%, 64%)
CMYKcmyk(75.3%, 63.6%, 0%, 36.5%)
CIE-LABlab(29.88, 29.79, -57.77)
CIE-LCHlch(29.88, 65.00, 297.28°)
OKLaboklab(40.72% -0.0021 -0.167)
OKLCHoklch(40.72% 0.167 269.3)
XYZxyz(8.9584, 6.1867, 34.8974)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283BA2 #A28F28
analogous
#2878A2 #283BA2 #5228A2
triadic
#283BA2 #A2283B #3BA228
tetradic
#283BA2 #A22878 #A28F28 #28A252
square
#283BA2 #A22878 #A28F28 #28A252
split-complementary
#283BA2 #A25228 #78A228
monochromatic
#101740 #1C2971 #283BA2 #3950CE #6A7CDA

Accessibility & contrast

On white

9.39
#283BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#283BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283BA2
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283BA2#FFFFFF#000000##FFFFFF
##283BA21.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#0041A0
Tritanopia (blue-blind)
#005669
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #283ba2;
/* rgb */ color: rgb(40, 59, 162);
/* oklch */ color: oklch(40.7% 0.167 269.3);
Tailwind
colors: {
  custom: {
    50: '#7570be',
    500: '#283ba2',
    950: '#000000',
  },
}
SCSS
$custom: #283ba2;
$custom-light: #7570be;
$custom-dark: #000000;
JSON
{
  "hex": "#283ba2",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 162
  },
  "hsl": {
    "h": 230.656,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40719,
    "c": 0.16697,
    "h": 269.3
  },
  "luminance": 0.06188
}

Semantic roles & 50–950 ramp

primary
#283BA2
secondary
#C1B265
accent
#CB44E4
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #283BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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