#2259AF#2259AF

#2259AF is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.7% C 0.149 H 259.3°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#2259AF
RGBrgb(34, 89, 175)
HSLhsl(217, 67%, 41%)
HSVhsv(217, 81%, 69%)
CMYKcmyk(80.6%, 49.1%, 0%, 31.4%)
CIE-LABlab(38.86, 14.13, -50.95)
CIE-LCHlch(38.86, 52.88, 285.50°)
OKLaboklab(47.74% -0.0276 -0.1465)
OKLCHoklch(47.74% 0.149 259.3)
XYZxyz(11.9671, 10.5786, 41.9603)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2259AF #AF7822
analogous
#229FAF #2259AF #3222AF
triadic
#2259AF #AF2259 #59AF22
tetradic
#2259AF #AF229F #AF7822 #22AF32
square
#2259AF #AF229F #AF7822 #22AF32
split-complementary
#2259AF #AF3222 #9FAF22
monochromatic
#0E2549 #183F7C #2259AF #3675D8 #6998E2

Accessibility & contrast

On white

6.74
#2259AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2259AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2259AF#FFFFFF#000000##FFFFFF
##2259AF1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2662B2
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#006E7B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2259af;
/* rgb */ color: rgb(34, 89, 175);
/* oklch */ color: oklch(47.7% 0.149 259.3);
Tailwind
colors: {
  custom: {
    50: '#7487c7',
    500: '#2259af',
    950: '#000000',
  },
}
SCSS
$custom: #2259af;
$custom-light: #7487c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2259af",
  "rgb": {
    "r": 34,
    "g": 89,
    "b": 175
  },
  "hsl": {
    "h": 216.596,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47742,
    "c": 0.14912,
    "h": 259.3
  },
  "luminance": 0.1058
}

Semantic roles & 50–950 ramp

primary
#2259AF
secondary
#C8A165
accent
#A73DEA
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2259AF

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

Preview Lab → · Contrast checker → · Palette generator →

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