#283FAF#283FAF

#283FAF is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.7% C 0.180 H 268.4°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#283FAF
RGBrgb(40, 63, 175)
HSLhsl(230, 63%, 42%)
HSVhsv(230, 77%, 69%)
CMYKcmyk(77.1%, 64%, 0%, 31.4%)
CIE-LABlab(32.03, 32.01, -62.04)
CIE-LCHlch(32.03, 69.81, 297.29°)
OKLaboklab(42.66% -0.005 -0.1794)
OKLCHoklch(42.66% 0.18 268.4)
XYZxyz(10.3878, 7.1001, 41.3721)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283FAF #AF9828
analogous
#2883AF #283FAF #5528AF
triadic
#283FAF #AF283F #3FAF28
tetradic
#283FAF #AF2883 #AF9828 #28AF55
square
#283FAF #AF2883 #AF9828 #28AF55
split-complementary
#283FAF #AF5528 #83AF28
monochromatic
#111B4B #1D2D7D #283FAF #415AD4 #7385DF

Accessibility & contrast

On white

8.68
#283FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#283FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283FAF
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283FAF#FFFFFF#000000##FFFFFF
##283FAF1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0045AD
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #283faf;
/* rgb */ color: rgb(40, 63, 175);
/* oklch */ color: oklch(42.7% 0.180 268.4);
Tailwind
colors: {
  custom: {
    50: '#7874c8',
    500: '#283faf',
    950: '#000000',
  },
}
SCSS
$custom: #283faf;
$custom-light: #7874c8;
$custom-dark: #000000;
JSON
{
  "hex": "#283faf",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 175
  },
  "hsl": {
    "h": 229.778,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42661,
    "c": 0.17952,
    "h": 268.4
  },
  "luminance": 0.07101
}

Semantic roles & 50–950 ramp

primary
#283FAF
secondary
#C6B76D
accent
#CA42E6
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #283FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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