#283CAF#283CAF

#283CAF is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.1% C 0.183 H 269.0°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#283CAF
RGBrgb(40, 60, 175)
HSLhsl(231, 63%, 42%)
HSVhsv(231, 77%, 69%)
CMYKcmyk(77.1%, 65.7%, 0%, 31.4%)
CIE-LABlab(31.29, 33.96, -63.26)
CIE-LCHlch(31.29, 71.79, 298.23°)
OKLaboklab(42.12% -0.0033 -0.183)
OKLCHoklch(42.12% 0.183 269)
XYZxyz(10.2261, 6.7768, 41.3182)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283CAF #AF9B28
analogous
#2880AF #283CAF #5728AF
triadic
#283CAF #AF283C #3CAF28
tetradic
#283CAF #AF2880 #AF9B28 #28AF57
square
#283CAF #AF2880 #AF9B28 #28AF57
split-complementary
#283CAF #AF5728 #80AF28
monochromatic
#111A4B #1D2B7D #283CAF #4156D4 #7383DF

Accessibility & contrast

On white

8.91
#283CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#283CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283CAF
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283CAF#FFFFFF#000000##FFFFFF
##283CAF1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #283caf;
/* rgb */ color: rgb(40, 60, 175);
/* oklch */ color: oklch(42.1% 0.183 269.0);
Tailwind
colors: {
  custom: {
    50: '#7871c8',
    500: '#283caf',
    950: '#000000',
  },
}
SCSS
$custom: #283caf;
$custom-light: #7871c8;
$custom-dark: #000000;
JSON
{
  "hex": "#283caf",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 175
  },
  "hsl": {
    "h": 231.111,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42117,
    "c": 0.18305,
    "h": 269
  },
  "luminance": 0.06778
}

Semantic roles & 50–950 ramp

primary
#283CAF
secondary
#C6B96D
accent
#CE42E6
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #283CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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