#2259B3#2259B3

#2259B3 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.0% C 0.155 H 259.9°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#2259B3
RGBrgb(34, 89, 179)
HSLhsl(217, 68%, 42%)
HSVhsv(217, 81%, 70%)
CMYKcmyk(81%, 50.3%, 0%, 29.8%)
CIE-LABlab(39.14, 15.70, -52.87)
CIE-LCHlch(39.14, 55.15, 286.54°)
OKLaboklab(48.04% -0.027 -0.1522)
OKLCHoklch(48.04% 0.155 259.9)
XYZxyz(12.3658, 10.7380, 44.0600)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2259B3 #B37C22
analogous
#22A2B3 #2259B3 #3322B3
triadic
#2259B3 #B32259 #59B322
tetradic
#2259B3 #B322A2 #B37C22 #22B333
square
#2259B3 #B322A2 #B37C22 #22B333
split-complementary
#2259B3 #B33322 #A2B322
monochromatic
#0E264C #183F80 #2259B3 #3976D9 #6C99E3

Accessibility & contrast

On white

6.67
#2259B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2259B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2259B3
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2259B3#FFFFFF#000000##FFFFFF
##2259B31.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2163B6
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2259b3;
/* rgb */ color: rgb(34, 89, 179);
/* oklch */ color: oklch(48.0% 0.155 259.9);
Tailwind
colors: {
  custom: {
    50: '#7587ca',
    500: '#2259b3',
    950: '#000000',
  },
}
SCSS
$custom: #2259b3;
$custom-light: #7587ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2259b3",
  "rgb": {
    "r": 34,
    "g": 89,
    "b": 179
  },
  "hsl": {
    "h": 217.241,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4804,
    "c": 0.15456,
    "h": 259.9
  },
  "luminance": 0.1074
}

Semantic roles & 50–950 ramp

primary
#2259B3
secondary
#C9A468
accent
#A93DEB
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2259B3

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

Preview Lab → · Contrast checker → · Palette generator →

#2259B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva