#283FB0#283FB0

#283FB0 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.8% C 0.181 H 268.4°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#283FB0
RGBrgb(40, 63, 176)
HSLhsl(230, 63%, 42%)
HSVhsv(230, 77%, 69%)
CMYKcmyk(77.3%, 64.2%, 0%, 31%)
CIE-LABlab(32.12, 32.38, -62.49)
CIE-LCHlch(32.12, 70.38, 297.39°)
OKLaboklab(42.75% -0.0051 -0.1808)
OKLCHoklch(42.75% 0.181 268.4)
XYZxyz(10.4863, 7.1396, 41.8913)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283FB0 #B09928
analogous
#2883B0 #283FB0 #5528B0
triadic
#283FB0 #B0283F #3FB028
tetradic
#283FB0 #B02883 #B09928 #28B055
square
#283FB0 #B02883 #B09928 #28B055
split-complementary
#283FB0 #B05528 #83B028
monochromatic
#111B4C #1D2D7E #283FB0 #415AD4 #7385DF

Accessibility & contrast

On white

8.65
#283FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#283FB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283FB0
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283FB0#FFFFFF#000000##FFFFFF
##283FB01.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#0045AE
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #283fb0;
/* rgb */ color: rgb(40, 63, 176);
/* oklch */ color: oklch(42.8% 0.181 268.4);
Tailwind
colors: {
  custom: {
    50: '#7874c9',
    500: '#283fb0',
    950: '#000000',
  },
}
SCSS
$custom: #283fb0;
$custom-light: #7874c9;
$custom-dark: #000000;
JSON
{
  "hex": "#283fb0",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 176
  },
  "hsl": {
    "h": 229.853,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42753,
    "c": 0.18083,
    "h": 268.4
  },
  "luminance": 0.07141
}

Semantic roles & 50–950 ramp

primary
#283FB0
secondary
#C6B76D
accent
#CA42E6
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #283FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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