#283A6A#283A6A

#283A6A is a dark, moderate blue. Relative luminance 0.045; OKLCH L 35.9% C 0.086 H 266.6°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#283A6A
RGBrgb(40, 58, 106)
HSLhsl(224, 45%, 29%)
HSVhsv(224, 62%, 42%)
CMYKcmyk(62.3%, 45.3%, 0%, 58.4%)
CIE-LABlab(25.31, 9.13, -30.29)
CIE-LCHlch(25.31, 31.64, 286.78°)
OKLaboklab(35.93% -0.0051 -0.0862)
OKLCHoklch(35.93% 0.086 266.6)
XYZxyz(4.9888, 4.5174, 14.2419)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A6A #6A5828
analogous
#285B6A #283A6A #37286A
triadic
#283A6A #6A283A #3A6A28
tetradic
#283A6A #6A285B #6A5828 #286A37
square
#283A6A #6A285B #6A5828 #286A37
split-complementary
#283A6A #6A3728 #5B6A28
monochromatic
#080C16 #17223E #283A6A #395296 #506DBD

Accessibility & contrast

On white

11.03
#283A6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#283A6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283A6A
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A6A#FFFFFF#000000##FFFFFF
##283A6A1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253F6C
Deuteranopia (green-blind)
#1C3969
Tritanopia (blue-blind)
#00454C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #283a6a;
/* rgb */ color: rgb(40, 58, 106);
/* oklch */ color: oklch(35.9% 0.086 266.6);
Tailwind
colors: {
  custom: {
    50: '#686f95',
    500: '#283a6a',
    950: '#000000',
  },
}
SCSS
$custom: #283a6a;
$custom-light: #686f95;
$custom-dark: #000000;
JSON
{
  "hex": "#283a6a",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 106
  },
  "hsl": {
    "h": 223.636,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.35933,
    "c": 0.08639,
    "h": 266.6
  },
  "luminance": 0.04518
}

Semantic roles & 50–950 ramp

primary
#283A6A
secondary
#9D8851
accent
#B153D5
background
#F6F6F9
surface
#EBECF1
border
#C6C7CB
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #283A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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