#2258AF#2258AF

#2258AF is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.5% C 0.150 H 259.7°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#2258AF
RGBrgb(34, 88, 175)
HSLhsl(217, 67%, 41%)
HSVhsv(217, 81%, 69%)
CMYKcmyk(80.6%, 49.7%, 0%, 31.4%)
CIE-LABlab(38.57, 14.79, -51.42)
CIE-LCHlch(38.57, 53.50, 286.05°)
OKLaboklab(47.52% -0.0268 -0.1479)
OKLCHoklch(47.52% 0.15 259.7)
XYZxyz(11.8845, 10.4133, 41.9327)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2258AF #AF7922
analogous
#229EAF #2258AF #3222AF
triadic
#2258AF #AF2258 #58AF22
tetradic
#2258AF #AF229E #AF7922 #22AF32
square
#2258AF #AF229E #AF7922 #22AF32
split-complementary
#2258AF #AF3222 #9EAF22
monochromatic
#0E2449 #183E7C #2258AF #3674D8 #6998E2

Accessibility & contrast

On white

6.81
#2258AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2258AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2258AF
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2258AF#FFFFFF#000000##FFFFFF
##2258AF1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2462B2
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#006D7B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2258af;
/* rgb */ color: rgb(34, 88, 175);
/* oklch */ color: oklch(47.5% 0.150 259.7);
Tailwind
colors: {
  custom: {
    50: '#7486c7',
    500: '#2258af',
    950: '#000000',
  },
}
SCSS
$custom: #2258af;
$custom-light: #7486c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2258af",
  "rgb": {
    "r": 34,
    "g": 88,
    "b": 175
  },
  "hsl": {
    "h": 217.021,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47522,
    "c": 0.15035,
    "h": 259.7
  },
  "luminance": 0.10415
}

Semantic roles & 50–950 ramp

primary
#2258AF
secondary
#C8A265
accent
#A83DEA
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2258AF

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

Preview Lab → · Contrast checker → · Palette generator →

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