#2235A5#2235A5

#2235A5 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.6% C 0.180 H 268.6°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#2235A5
RGBrgb(34, 53, 165)
HSLhsl(231, 66%, 39%)
HSVhsv(231, 79%, 65%)
CMYKcmyk(79.4%, 67.9%, 0%, 35.3%)
CIE-LABlab(28.39, 34.21, -62.04)
CIE-LCHlch(28.39, 70.85, 298.87°)
OKLaboklab(39.63% -0.0044 -0.1796)
OKLCHoklch(39.63% 0.18 268.6)
XYZxyz(8.7220, 5.6019, 36.2116)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2235A5 #A59222
analogous
#2277A5 #2235A5 #5122A5
triadic
#2235A5 #A52235 #35A522
tetradic
#2235A5 #A52277 #A59222 #22A551
square
#2235A5 #A52277 #A59222 #22A551
split-complementary
#2235A5 #A55122 #77A522
monochromatic
#0D1440 #182572 #2235A5 #3048D4 #6375DF

Accessibility & contrast

On white

9.90
#2235A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2235A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2235A5
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2235A5#FFFFFF#000000##FFFFFF
##2235A51.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A8
Deuteranopia (green-blind)
#003DA3
Tritanopia (blue-blind)
#005368
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2235a5;
/* rgb */ color: rgb(34, 53, 165);
/* oklch */ color: oklch(39.6% 0.180 268.6);
Tailwind
colors: {
  custom: {
    50: '#746cc1',
    500: '#2235a5',
    950: '#000000',
  },
}
SCSS
$custom: #2235a5;
$custom-light: #746cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2235a5",
  "rgb": {
    "r": 34,
    "g": 53,
    "b": 165
  },
  "hsl": {
    "h": 231.298,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.3963,
    "c": 0.17968,
    "h": 268.6
  },
  "luminance": 0.05603
}

Semantic roles & 50–950 ramp

primary
#2235A5
secondary
#C4B55F
accent
#D03FE9
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2235A5

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

Preview Lab → · Contrast checker → · Palette generator →

#2235A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva