#283A9C#283A9C

#283A9C is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.0% C 0.160 H 269.6°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#283A9C
RGBrgb(40, 58, 156)
HSLhsl(231, 59%, 38%)
HSVhsv(231, 74%, 61%)
CMYKcmyk(74.4%, 62.8%, 0%, 38.8%)
CIE-LABlab(29.10, 28.21, -55.41)
CIE-LCHlch(29.10, 62.17, 296.98°)
OKLaboklab(39.98% -0.0012 -0.16)
OKLCHoklch(39.98% 0.16 269.6)
XYZxyz(8.3868, 5.8766, 32.1383)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A9C #9C8A28
analogous
#28749C #283A9C #50289C
triadic
#283A9C #9C283A #3A9C28
tetradic
#283A9C #9C2874 #9C8A28 #289C50
square
#283A9C #9C2874 #9C8A28 #289C50
split-complementary
#283A9C #9C5028 #749C28
monochromatic
#0F163B #1C286B #283A9C #364DCB #6778D8

Accessibility & contrast

On white

9.65
#283A9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#283A9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283A9C
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A9C#FFFFFF#000000##FFFFFF
##283A9C1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9F
Deuteranopia (green-blind)
#003F9A
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #283a9c;
/* rgb */ color: rgb(40, 58, 156);
/* oklch */ color: oklch(40.0% 0.160 269.6);
Tailwind
colors: {
  custom: {
    50: '#7370ba',
    500: '#283a9c',
    950: '#000000',
  },
}
SCSS
$custom: #283a9c;
$custom-light: #7370ba;
$custom-dark: #000000;
JSON
{
  "hex": "#283a9c",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 156
  },
  "hsl": {
    "h": 230.69,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39981,
    "c": 0.16005,
    "h": 269.6
  },
  "luminance": 0.05878
}

Semantic roles & 50–950 ramp

primary
#283A9C
secondary
#BEB062
accent
#CA45E2
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #283A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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