#283DAF#283DAF

#283DAF is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.3% C 0.182 H 268.8°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#283DAF
RGBrgb(40, 61, 175)
HSLhsl(231, 63%, 42%)
HSVhsv(231, 77%, 69%)
CMYKcmyk(77.1%, 65.1%, 0%, 31.4%)
CIE-LABlab(31.54, 33.31, -62.85)
CIE-LCHlch(31.54, 71.14, 297.92°)
OKLaboklab(42.3% -0.0038 -0.1818)
OKLCHoklch(42.3% 0.182 268.8)
XYZxyz(10.2790, 6.8826, 41.3359)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283DAF #AF9A28
analogous
#2880AF #283DAF #5728AF
triadic
#283DAF #AF283D #3DAF28
tetradic
#283DAF #AF2880 #AF9A28 #28AF57
square
#283DAF #AF2880 #AF9A28 #28AF57
split-complementary
#283DAF #AF5728 #80AF28
monochromatic
#111A4B #1D2C7D #283DAF #4158D4 #7383DF

Accessibility & contrast

On white

8.84
#283DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#283DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283DAF
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283DAF#FFFFFF#000000##FFFFFF
##283DAF1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0044AD
Tritanopia (blue-blind)
#005B70
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #283daf;
/* rgb */ color: rgb(40, 61, 175);
/* oklch */ color: oklch(42.3% 0.182 268.8);
Tailwind
colors: {
  custom: {
    50: '#7872c8',
    500: '#283daf',
    950: '#000000',
  },
}
SCSS
$custom: #283daf;
$custom-light: #7872c8;
$custom-dark: #000000;
JSON
{
  "hex": "#283daf",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 175
  },
  "hsl": {
    "h": 230.667,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42296,
    "c": 0.18188,
    "h": 268.8
  },
  "luminance": 0.06884
}

Semantic roles & 50–950 ramp

primary
#283DAF
secondary
#C6B86D
accent
#CC42E6
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #283DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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