#283C81#283C81

#283C81 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.1% C 0.119 H 268.1°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#283C81
RGBrgb(40, 60, 129)
HSLhsl(227, 53%, 33%)
HSVhsv(227, 69%, 51%)
CMYKcmyk(69%, 53.5%, 0%, 49.4%)
CIE-LABlab(27.48, 16.54, -41.39)
CIE-LCHlch(27.48, 44.57, 291.78°)
OKLaboklab(38.09% -0.0038 -0.1188)
OKLCHoklch(38.09% 0.119 268.1)
XYZxyz(6.4520, 5.2672, 21.4413)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C81 #816D28
analogous
#286881 #283C81 #402881
triadic
#283C81 #81283C #3C8128
tetradic
#283C81 #812868 #816D28 #288140
square
#283C81 #812868 #816D28 #288140
split-complementary
#283C81 #814028 #688128
monochromatic
#0B1124 #1A2652 #283C81 #3652B0 #5872CB

Accessibility & contrast

On white

10.23
#283C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#283C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283C81
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C81#FFFFFF#000000##FFFFFF
##283C811.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114583
Deuteranopia (green-blind)
#003D80
Tritanopia (blue-blind)
#004C58
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #283c81;
/* rgb */ color: rgb(40, 60, 129);
/* oklch */ color: oklch(38.1% 0.119 268.1);
Tailwind
colors: {
  custom: {
    50: '#6d71a6',
    500: '#283c81',
    950: '#000000',
  },
}
SCSS
$custom: #283c81;
$custom-light: #6d71a6;
$custom-dark: #000000;
JSON
{
  "hex": "#283c81",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 129
  },
  "hsl": {
    "h": 226.517,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38093,
    "c": 0.11888,
    "h": 268.1
  },
  "luminance": 0.05268
}

Semantic roles & 50–950 ramp

primary
#283C81
secondary
#B09C54
accent
#BC4CDC
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #283C81

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

Preview Lab → · Contrast checker → · Palette generator →

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