#0845F9#0845F9

#0845F9 is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 50.3% C 0.268 H 264.0°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#0845F9
RGBrgb(8, 69, 249)
HSLhsl(225, 95%, 50%)
HSVhsv(225, 97%, 98%)
CMYKcmyk(96.8%, 72.3%, 0%, 2.4%)
CIE-LABlab(39.82, 53.37, -91.96)
CIE-LCHlch(39.82, 106.33, 300.13°)
OKLaboklab(50.26% -0.0282 -0.2669)
OKLCHoklch(50.26% 0.268 264)
XYZxyz(19.3211, 11.1448, 90.7369)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0845F9 #F9BC08
analogous
#08BEF9 #0845F9 #4308F9
triadic
#0845F9 #F90845 #45F908
tetradic
#0845F9 #F908BE #F9BC08 #08F943
square
#0845F9 #F908BE #F9BC08 #08F943
split-complementary
#0845F9 #F94308 #BEF908
monochromatic
#032483 #0534BF #0845F9 #4472FA #7F9FFC

Accessibility & contrast

On white

6.50
#0845F9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#0845F9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #0845F9
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0845F9#FFFFFF#000000##FFFFFF
##0845F91.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069FE
Deuteranopia (green-blind)
#0053F6
Tritanopia (blue-blind)
#007A9B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #0845f9;
/* rgb */ color: rgb(8, 69, 249);
/* oklch */ color: oklch(50.3% 0.268 264.0);
Tailwind
colors: {
  custom: {
    50: '#8579fd',
    500: '#0845f9',
    950: '#000000',
  },
}
SCSS
$custom: #0845f9;
$custom-light: #8579fd;
$custom-dark: #000000;
JSON
{
  "hex": "#0845f9",
  "rgb": {
    "r": 8,
    "g": 69,
    "b": 249
  },
  "hsl": {
    "h": 224.813,
    "s": 95.257,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50262,
    "c": 0.26838,
    "h": 264
  },
  "luminance": 0.11147
}

Semantic roles & 50–950 ramp

primary
#0845F9
secondary
#E4C979
accent
#C929FF
background
#F9F7FF
surface
#F2EDFF
border
#CCC8D7
text
#0E0918
muted
#7E7B86

Preview Lab

Preview with #0845F9

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

Preview Lab → · Contrast checker → · Palette generator →

#0845F9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva