#2235A6#2235A6

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

Color values

HEX#2235A6
RGBrgb(34, 53, 166)
HSLhsl(231, 66%, 39%)
HSVhsv(231, 80%, 65%)
CMYKcmyk(79.5%, 68.1%, 0%, 34.9%)
CIE-LABlab(28.48, 34.58, -62.49)
CIE-LCHlch(28.48, 71.42, 298.96°)
OKLaboklab(39.73% -0.0044 -0.1809)
OKLCHoklch(39.73% 0.181 268.6)
XYZxyz(8.8133, 5.6385, 36.6928)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2235A6 #A69322
analogous
#2277A6 #2235A6 #5122A6
triadic
#2235A6 #A62235 #35A622
tetradic
#2235A6 #A62277 #A69322 #22A651
square
#2235A6 #A62277 #A69322 #22A651
split-complementary
#2235A6 #A65122 #77A622
monochromatic
#0D1540 #182573 #2235A6 #3048D5 #6375DF

Accessibility & contrast

On white

9.87
#2235A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2235A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2235A6
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2235A6#FFFFFF#000000##FFFFFF
##2235A61.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAA
Deuteranopia (green-blind)
#003DA4
Tritanopia (blue-blind)
#005469
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2235a6;
/* rgb */ color: rgb(34, 53, 166);
/* oklch */ color: oklch(39.7% 0.181 268.6);
Tailwind
colors: {
  custom: {
    50: '#746cc1',
    500: '#2235a6',
    950: '#000000',
  },
}
SCSS
$custom: #2235a6;
$custom-light: #746cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2235a6",
  "rgb": {
    "r": 34,
    "g": 53,
    "b": 166
  },
  "hsl": {
    "h": 231.364,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.3973,
    "c": 0.18098,
    "h": 268.6
  },
  "luminance": 0.05639
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2235A6

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

Preview Lab → · Contrast checker → · Palette generator →

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