#283C95#283C95

#283C95 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.148 H 269.0°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#283C95
RGBrgb(40, 60, 149)
HSLhsl(229, 58%, 37%)
HSVhsv(229, 73%, 58%)
CMYKcmyk(73.2%, 59.7%, 0%, 41.6%)
CIE-LABlab(29.04, 24.21, -51.24)
CIE-LCHlch(29.04, 56.67, 295.29°)
OKLaboklab(39.75% -0.0027 -0.1478)
OKLCHoklch(39.75% 0.148 269)
XYZxyz(7.9139, 5.8519, 29.1404)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C95 #958128
analogous
#287395 #283C95 #4B2895
triadic
#283C95 #95283C #3C9528
tetradic
#283C95 #952873 #958128 #28954B
square
#283C95 #952873 #958128 #28954B
split-complementary
#283C95 #954B28 #739528
monochromatic
#0E1535 #1B2965 #283C95 #354FC5 #6277D5

Accessibility & contrast

On white

9.67
#283C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#283C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283C95
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C95#FFFFFF#000000##FFFFFF
##283C951.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#004093
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #283c95;
/* rgb */ color: rgb(40, 60, 149);
/* oklch */ color: oklch(39.8% 0.148 269.0);
Tailwind
colors: {
  custom: {
    50: '#7271b5',
    500: '#283c95',
    950: '#000000',
  },
}
SCSS
$custom: #283c95;
$custom-light: #7271b5;
$custom-dark: #000000;
JSON
{
  "hex": "#283c95",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 149
  },
  "hsl": {
    "h": 228.991,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.3975,
    "c": 0.14781,
    "h": 269
  },
  "luminance": 0.05853
}

Semantic roles & 50–950 ramp

primary
#283C95
secondary
#BBAA5E
accent
#C547E1
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #283C95

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

Preview Lab → · Contrast checker → · Palette generator →

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