#283A68#283A68

#283A68 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 35.8% C 0.083 H 266.2°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#283A68
RGBrgb(40, 58, 104)
HSLhsl(223, 44%, 28%)
HSVhsv(223, 62%, 41%)
CMYKcmyk(61.5%, 44.2%, 0%, 59.2%)
CIE-LABlab(25.19, 8.38, -29.21)
CIE-LCHlch(25.19, 30.39, 286.01°)
OKLaboklab(35.8% -0.0055 -0.083)
OKLCHoklch(35.8% 0.083 266.2)
XYZxyz(4.8860, 4.4763, 13.7006)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A68 #685628
analogous
#285A68 #283A68 #362868
triadic
#283A68 #68283A #3A6828
tetradic
#283A68 #68285A #685628 #286836
square
#283A68 #68285A #685628 #286836
split-complementary
#283A68 #683628 #5A6828
monochromatic
#090C16 #17213C #283A68 #395394 #4F6EBB

Accessibility & contrast

On white

11.08
#283A68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283A68
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A68#FFFFFF#000000##FFFFFF
##283A681.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263F6A
Deuteranopia (green-blind)
#1E3967
Tritanopia (blue-blind)
#00444C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #283a68;
/* rgb */ color: rgb(40, 58, 104);
/* oklch */ color: oklch(35.8% 0.083 266.2);
Tailwind
colors: {
  custom: {
    50: '#686f93',
    500: '#283a68',
    950: '#000000',
  },
}
SCSS
$custom: #283a68;
$custom-light: #686f93;
$custom-dark: #000000;
JSON
{
  "hex": "#283a68",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 104
  },
  "hsl": {
    "h": 223.125,
    "s": 44.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35795,
    "c": 0.08323,
    "h": 266.2
  },
  "luminance": 0.04477
}

Semantic roles & 50–950 ramp

primary
#283A68
secondary
#9B8651
accent
#B054D4
background
#F6F6F9
surface
#EBECF1
border
#C6C7CB
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #283A68

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

Preview Lab → · Contrast checker → · Palette generator →

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