#4259B2#4259B2

#4259B2 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.4% C 0.143 H 269.6°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#4259B2
RGBrgb(66, 89, 178)
HSLhsl(228, 46%, 48%)
HSVhsv(228, 63%, 70%)
CMYKcmyk(62.9%, 50%, 0%, 30.2%)
CIE-LABlab(40.44, 19.87, -50.11)
CIE-LCHlch(40.44, 53.91, 291.62°)
OKLaboklab(49.39% -0.001 -0.1435)
OKLCHoklch(49.39% 0.144 269.6)
XYZxyz(13.8523, 11.5162, 43.6037)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4259B2 #B29B42
analogous
#4291B2 #4259B2 #6342B2
triadic
#4259B2 #B24259 #59B242
tetradic
#4259B2 #B24291 #B29B42 #42B263
square
#4259B2 #B24291 #B29B42 #42B263
split-complementary
#4259B2 #B26342 #91B242
monochromatic
#212C59 #314385 #4259B2 #6A7DC8 #96A4D8

Accessibility & contrast

On white

6.36
#4259B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4259B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4259B2
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4259B2#FFFFFF#000000##FFFFFF
##4259B21.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2965B5
Deuteranopia (green-blind)
#0E5BB0
Tritanopia (blue-blind)
#006E7D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4259b2;
/* rgb */ color: rgb(66, 89, 178);
/* oklch */ color: oklch(49.4% 0.143 269.6);
Tailwind
colors: {
  custom: {
    50: '#8187ca',
    500: '#4259b2',
    950: '#000000',
  },
}
SCSS
$custom: #4259b2;
$custom-light: #8187ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4259b2",
  "rgb": {
    "r": 66,
    "g": 89,
    "b": 178
  },
  "hsl": {
    "h": 227.679,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49386,
    "c": 0.1435,
    "h": 269.6
  },
  "luminance": 0.11517
}

Semantic roles & 50–950 ramp

primary
#4259B2
secondary
#C4B88C
accent
#BB52D6
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #4259B2

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

Preview Lab → · Contrast checker → · Palette generator →

#4259B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva