#283AAF#283AAF

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

Color values

HEX#283AAF
RGBrgb(40, 58, 175)
HSLhsl(232, 63%, 42%)
HSVhsv(232, 77%, 69%)
CMYKcmyk(77.1%, 66.9%, 0%, 31.4%)
CIE-LABlab(30.81, 35.24, -64.05)
CIE-LCHlch(30.81, 73.10, 298.82°)
OKLaboklab(41.76% -0.0021 -0.1853)
OKLCHoklch(41.76% 0.185 269.3)
XYZxyz(10.1233, 6.5713, 41.2840)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283AAF #AF9D28
analogous
#287EAF #283AAF #5A28AF
triadic
#283AAF #AF283A #3AAF28
tetradic
#283AAF #AF287E #AF9D28 #28AF5A
square
#283AAF #AF287E #AF9D28 #28AF5A
split-complementary
#283AAF #AF5A28 #7EAF28
monochromatic
#11194B #1D297D #283AAF #4154D4 #7381DF

Accessibility & contrast

On white

9.07
#283AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#283AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283AAF
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283AAF#FFFFFF#000000##FFFFFF
##283AAF1.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0042AD
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #283aaf;
/* rgb */ color: rgb(40, 58, 175);
/* oklch */ color: oklch(41.8% 0.185 269.3);
Tailwind
colors: {
  custom: {
    50: '#7870c8',
    500: '#283aaf',
    950: '#000000',
  },
}
SCSS
$custom: #283aaf;
$custom-light: #7870c8;
$custom-dark: #000000;
JSON
{
  "hex": "#283aaf",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 175
  },
  "hsl": {
    "h": 232,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41763,
    "c": 0.18536,
    "h": 269.3
  },
  "luminance": 0.06572
}

Semantic roles & 50–950 ramp

primary
#283AAF
secondary
#C6BA6D
accent
#D042E6
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #283AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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