#283BA5#283BA5

#283BA5 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.0% C 0.171 H 269.3°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#283BA5
RGBrgb(40, 59, 165)
HSLhsl(231, 61%, 40%)
HSVhsv(231, 76%, 65%)
CMYKcmyk(75.8%, 64.2%, 0%, 35.3%)
CIE-LABlab(30.14, 30.91, -59.14)
CIE-LCHlch(30.14, 66.73, 297.59°)
OKLaboklab(41% -0.0022 -0.171)
OKLCHoklch(41% 0.171 269.3)
XYZxyz(9.2282, 6.2947, 36.3187)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283BA5 #A59228
analogous
#2879A5 #283BA5 #5328A5
triadic
#283BA5 #A5283B #3BA528
tetradic
#283BA5 #A52879 #A59228 #28A553
square
#283BA5 #A52879 #A59228 #28A553
split-complementary
#283BA5 #A55328 #79A528
monochromatic
#101842 #1C2974 #283BA5 #3B51CF #6C7DDB

Accessibility & contrast

On white

9.30
#283BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#283BA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283BA5
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283BA5#FFFFFF#000000##FFFFFF
##283BA51.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA8
Deuteranopia (green-blind)
#0041A3
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #283ba5;
/* rgb */ color: rgb(40, 59, 165);
/* oklch */ color: oklch(41.0% 0.171 269.3);
Tailwind
colors: {
  custom: {
    50: '#7671c1',
    500: '#283ba5',
    950: '#000000',
  },
}
SCSS
$custom: #283ba5;
$custom-light: #7671c1;
$custom-dark: #000000;
JSON
{
  "hex": "#283ba5",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 165
  },
  "hsl": {
    "h": 230.88,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40996,
    "c": 0.17101,
    "h": 269.3
  },
  "luminance": 0.06296
}

Semantic roles & 50–950 ramp

primary
#283BA5
secondary
#C2B467
accent
#CC44E4
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #283BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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