#2255AF#2255AF

#2255AF is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.9% C 0.154 H 260.8°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#2255AF
RGBrgb(34, 85, 175)
HSLhsl(218, 67%, 41%)
HSVhsv(218, 81%, 69%)
CMYKcmyk(80.6%, 51.4%, 0%, 31.4%)
CIE-LABlab(37.72, 16.78, -52.80)
CIE-LCHlch(37.72, 55.40, 287.63°)
OKLaboklab(46.87% -0.0246 -0.1521)
OKLCHoklch(46.87% 0.154 260.8)
XYZxyz(11.6432, 9.9308, 41.8523)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2255AF #AF7C22
analogous
#229BAF #2255AF #3522AF
triadic
#2255AF #AF2255 #55AF22
tetradic
#2255AF #AF229B #AF7C22 #22AF35
square
#2255AF #AF229B #AF7C22 #22AF35
split-complementary
#2255AF #AF3522 #9BAF22
monochromatic
#0E2349 #183C7C #2255AF #3671D8 #6995E2

Accessibility & contrast

On white

7.03
#2255AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2255AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2255AF
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2255AF#FFFFFF#000000##FFFFFF
##2255AF1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A60B2
Deuteranopia (green-blind)
#0053AD
Tritanopia (blue-blind)
#006B7A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2255af;
/* rgb */ color: rgb(34, 85, 175);
/* oklch */ color: oklch(46.9% 0.154 260.8);
Tailwind
colors: {
  custom: {
    50: '#7484c7',
    500: '#2255af',
    950: '#000000',
  },
}
SCSS
$custom: #2255af;
$custom-light: #7484c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2255af",
  "rgb": {
    "r": 34,
    "g": 85,
    "b": 175
  },
  "hsl": {
    "h": 218.298,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.46867,
    "c": 0.15403,
    "h": 260.8
  },
  "luminance": 0.09932
}

Semantic roles & 50–950 ramp

primary
#2255AF
secondary
#C8A465
accent
#AC3DEA
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2255AF

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

Preview Lab → · Contrast checker → · Palette generator →

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