#283EAF#283EAF

#283EAF is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.5% C 0.181 H 268.6°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#283EAF
RGBrgb(40, 62, 175)
HSLhsl(230, 63%, 42%)
HSVhsv(230, 77%, 69%)
CMYKcmyk(77.1%, 64.6%, 0%, 31.4%)
CIE-LABlab(31.79, 32.66, -62.45)
CIE-LCHlch(31.79, 70.48, 297.61°)
OKLaboklab(42.48% -0.0044 -0.1806)
OKLCHoklch(42.48% 0.181 268.6)
XYZxyz(10.3329, 6.9904, 41.3538)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283EAF #AF9928
analogous
#2882AF #283EAF #5528AF
triadic
#283EAF #AF283E #3EAF28
tetradic
#283EAF #AF2882 #AF9928 #28AF55
square
#283EAF #AF2882 #AF9928 #28AF55
split-complementary
#283EAF #AF5528 #82AF28
monochromatic
#111B4B #1D2C7D #283EAF #4159D4 #7384DF

Accessibility & contrast

On white

8.76
#283EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#283EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283EAF
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283EAF#FFFFFF#000000##FFFFFF
##283EAF1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0045AD
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #283eaf;
/* rgb */ color: rgb(40, 62, 175);
/* oklch */ color: oklch(42.5% 0.181 268.6);
Tailwind
colors: {
  custom: {
    50: '#7873c8',
    500: '#283eaf',
    950: '#000000',
  },
}
SCSS
$custom: #283eaf;
$custom-light: #7873c8;
$custom-dark: #000000;
JSON
{
  "hex": "#283eaf",
  "rgb": {
    "r": 40,
    "g": 62,
    "b": 175
  },
  "hsl": {
    "h": 230.222,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42478,
    "c": 0.1807,
    "h": 268.6
  },
  "luminance": 0.06992
}

Semantic roles & 50–950 ramp

primary
#283EAF
secondary
#C6B86D
accent
#CB42E6
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #283EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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