#283EA3#283EA3

#283EA3 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.4% C 0.165 H 268.6°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#283EA3
RGBrgb(40, 62, 163)
HSLhsl(229, 61%, 40%)
HSVhsv(229, 75%, 64%)
CMYKcmyk(75.5%, 62%, 0%, 36.1%)
CIE-LABlab(30.74, 28.18, -56.97)
CIE-LCHlch(30.74, 63.56, 296.32°)
OKLaboklab(41.38% -0.0041 -0.1646)
OKLCHoklch(41.38% 0.165 268.6)
XYZxyz(9.2063, 6.5397, 35.4203)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283EA3 #A38D28
analogous
#287CA3 #283EA3 #4F28A3
triadic
#283EA3 #A3283E #3EA328
tetradic
#283EA3 #A3287C #A38D28 #28A34F
square
#283EA3 #A3287C #A38D28 #28A34F
split-complementary
#283EA3 #A34F28 #7CA328
monochromatic
#101941 #1C2B72 #283EA3 #3A54CF #6B7FDB

Accessibility & contrast

On white

9.10
#283EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283EA3
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283EA3#FFFFFF#000000##FFFFFF
##283EA31.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA6
Deuteranopia (green-blind)
#0043A1
Tritanopia (blue-blind)
#00586A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #283ea3;
/* rgb */ color: rgb(40, 62, 163);
/* oklch */ color: oklch(41.4% 0.165 268.6);
Tailwind
colors: {
  custom: {
    50: '#7573bf',
    500: '#283ea3',
    950: '#000000',
  },
}
SCSS
$custom: #283ea3;
$custom-light: #7573bf;
$custom-dark: #000000;
JSON
{
  "hex": "#283ea3",
  "rgb": {
    "r": 40,
    "g": 62,
    "b": 163
  },
  "hsl": {
    "h": 229.268,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41379,
    "c": 0.16465,
    "h": 268.6
  },
  "luminance": 0.06541
}

Semantic roles & 50–950 ramp

primary
#283EA3
secondary
#C1B166
accent
#C744E4
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #283EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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