#283A94#283A94

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

Color values

HEX#283A94
RGBrgb(40, 58, 148)
HSLhsl(230, 57%, 37%)
HSVhsv(230, 73%, 58%)
CMYKcmyk(73%, 60.8%, 0%, 42%)
CIE-LABlab(28.42, 25.18, -51.63)
CIE-LCHlch(28.42, 57.45, 296.00°)
OKLaboklab(39.27% -0.0011 -0.149)
OKLCHoklch(39.27% 0.149 269.6)
XYZxyz(7.7316, 5.6146, 28.6875)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A94 #948228
analogous
#287094 #283A94 #4C2894
triadic
#283A94 #94283A #3A9428
tetradic
#283A94 #942870 #948228 #28944C
square
#283A94 #942870 #948228 #28944C
split-complementary
#283A94 #944C28 #709428
monochromatic
#0E1434 #1B2764 #283A94 #354DC4 #6275D5

Accessibility & contrast

On white

9.89
#283A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#283A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283A94
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A94#FFFFFF#000000##FFFFFF
##283A941.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #283a94;
/* rgb */ color: rgb(40, 58, 148);
/* oklch */ color: oklch(39.3% 0.149 269.6);
Tailwind
colors: {
  custom: {
    50: '#7270b4',
    500: '#283a94',
    950: '#000000',
  },
}
SCSS
$custom: #283a94;
$custom-light: #7270b4;
$custom-dark: #000000;
JSON
{
  "hex": "#283a94",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 148
  },
  "hsl": {
    "h": 230,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39265,
    "c": 0.14897,
    "h": 269.6
  },
  "luminance": 0.05615
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #283A94

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

Preview Lab → · Contrast checker → · Palette generator →

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