#2259AA#2259AA

#2259AA is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.4% C 0.142 H 258.5°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#2259AA
RGBrgb(34, 89, 170)
HSLhsl(216, 67%, 40%)
HSVhsv(216, 80%, 67%)
CMYKcmyk(80%, 47.6%, 0%, 33.3%)
CIE-LABlab(38.53, 12.17, -48.54)
CIE-LCHlch(38.53, 50.04, 284.07°)
OKLaboklab(47.38% -0.0284 -0.1394)
OKLCHoklch(47.38% 0.142 258.5)
XYZxyz(11.4851, 10.3858, 39.4218)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2259AA #AA7322
analogous
#229DAA #2259AA #2F22AA
triadic
#2259AA #AA2259 #59AA22
tetradic
#2259AA #AA229D #AA7322 #22AA2F
square
#2259AA #AA229D #AA7322 #22AA2F
split-complementary
#2259AA #AA2F22 #9DAA22
monochromatic
#0E2444 #183E77 #2259AA #3375D6 #6698E0

Accessibility & contrast

On white

6.82
#2259AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2259AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2259AA#FFFFFF#000000##FFFFFF
##2259AA1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C61AD
Deuteranopia (green-blind)
#0155A8
Tritanopia (blue-blind)
#006C79
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2259aa;
/* rgb */ color: rgb(34, 89, 170);
/* oklch */ color: oklch(47.4% 0.142 258.5);
Tailwind
colors: {
  custom: {
    50: '#7387c4',
    500: '#2259aa',
    950: '#000000',
  },
}
SCSS
$custom: #2259aa;
$custom-light: #7387c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2259aa",
  "rgb": {
    "r": 34,
    "g": 89,
    "b": 170
  },
  "hsl": {
    "h": 215.735,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.47377,
    "c": 0.1423,
    "h": 258.5
  },
  "luminance": 0.10387
}

Semantic roles & 50–950 ramp

primary
#2259AA
secondary
#C69D62
accent
#A43EEA
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B13
muted
#7B7C82

Preview Lab

Preview with #2259AA

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

Preview Lab → · Contrast checker → · Palette generator →

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