#4259CB#4259CB

#4259CB is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.2% C 0.178 H 270.3°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#4259CB
RGBrgb(66, 89, 203)
HSLhsl(230, 57%, 53%)
HSVhsv(230, 67%, 80%)
CMYKcmyk(67.5%, 56.2%, 0%, 20.4%)
CIE-LABlab(42.17, 28.71, -61.87)
CIE-LCHlch(42.17, 68.20, 294.89°)
OKLaboklab(51.25% 0.0009 -0.1781)
OKLCHoklch(51.25% 0.178 270.3)
XYZxyz(16.5950, 12.6132, 58.0484)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4259CB #CBB442
analogous
#429DCB #4259CB #6F42CB
triadic
#4259CB #CB4259 #59CB42
tetradic
#4259CB #CB429D #CBB442 #42CB6F
square
#4259CB #CB429D #CBB442 #42CB6F
split-complementary
#4259CB #CB6F42 #9DCB42
monochromatic
#202E73 #2D41A3 #4259CB #7283D8 #A2ADE5

Accessibility & contrast

On white

5.96
#4259CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4259CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4259CB
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4259CB#FFFFFF#000000##FFFFFF
##4259CB1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#007589
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4259cb;
/* rgb */ color: rgb(66, 89, 203);
/* oklch */ color: oklch(51.2% 0.178 270.3);
Tailwind
colors: {
  custom: {
    50: '#8687dc',
    500: '#4259cb',
    950: '#000000',
  },
}
SCSS
$custom: #4259cb;
$custom-light: #8687dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4259cb",
  "rgb": {
    "r": 66,
    "g": 89,
    "b": 203
  },
  "hsl": {
    "h": 229.927,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51248,
    "c": 0.17808,
    "h": 270.3
  },
  "luminance": 0.12615
}

Semantic roles & 50–950 ramp

primary
#4259CB
secondary
#D2C897
accent
#C748E0
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #4259CB

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

Preview Lab → · Contrast checker → · Palette generator →

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