#283A95#283A95

#283A95 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.4% C 0.150 H 269.6°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#283A95
RGBrgb(40, 58, 149)
HSLhsl(230, 58%, 37%)
HSVhsv(230, 73%, 58%)
CMYKcmyk(73.2%, 61.1%, 0%, 41.6%)
CIE-LABlab(28.50, 25.56, -52.11)
CIE-LCHlch(28.50, 58.04, 296.13°)
OKLaboklab(39.35% -0.0011 -0.1504)
OKLCHoklch(39.35% 0.15 269.6)
XYZxyz(7.8111, 5.6464, 29.1061)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A95 #958328
analogous
#287195 #283A95 #4D2895
triadic
#283A95 #95283A #3A9528
tetradic
#283A95 #952871 #958328 #28954D
square
#283A95 #952871 #958328 #28954D
split-complementary
#283A95 #954D28 #719528
monochromatic
#0E1435 #1B2765 #283A95 #354DC5 #6275D5

Accessibility & contrast

On white

9.86
#283A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#283A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283A95
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A95#FFFFFF#000000##FFFFFF
##283A951.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004898
Deuteranopia (green-blind)
#003E93
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #283a95;
/* rgb */ color: rgb(40, 58, 149);
/* oklch */ color: oklch(39.4% 0.150 269.6);
Tailwind
colors: {
  custom: {
    50: '#7270b5',
    500: '#283a95',
    950: '#000000',
  },
}
SCSS
$custom: #283a95;
$custom-light: #7270b5;
$custom-dark: #000000;
JSON
{
  "hex": "#283a95",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 149
  },
  "hsl": {
    "h": 230.092,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39353,
    "c": 0.15037,
    "h": 269.6
  },
  "luminance": 0.05647
}

Semantic roles & 50–950 ramp

primary
#283A95
secondary
#BBAB5E
accent
#C747E1
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #283A95

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

Preview Lab → · Contrast checker → · Palette generator →

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