#2235A8#2235A8

#2235A8 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.9% C 0.184 H 268.6°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#2235A8
RGBrgb(34, 53, 168)
HSLhsl(231, 66%, 40%)
HSVhsv(231, 80%, 66%)
CMYKcmyk(79.8%, 68.5%, 0%, 34.1%)
CIE-LABlab(28.68, 35.32, -63.37)
CIE-LCHlch(28.68, 72.55, 299.13°)
OKLaboklab(39.93% -0.0046 -0.1835)
OKLCHoklch(39.93% 0.184 268.6)
XYZxyz(8.9982, 5.7124, 37.6666)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2235A8 #A89522
analogous
#2278A8 #2235A8 #5222A8
triadic
#2235A8 #A82235 #35A822
tetradic
#2235A8 #A82278 #A89522 #22A852
square
#2235A8 #A82278 #A89522 #22A852
split-complementary
#2235A8 #A85222 #78A822
monochromatic
#0D1542 #182575 #2235A8 #3249D5 #6576E0

Accessibility & contrast

On white

9.80
#2235A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2235A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2235A8
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2235A8#FFFFFF#000000##FFFFFF
##2235A81.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAC
Deuteranopia (green-blind)
#003DA6
Tritanopia (blue-blind)
#00546A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2235a8;
/* rgb */ color: rgb(34, 53, 168);
/* oklch */ color: oklch(39.9% 0.184 268.6);
Tailwind
colors: {
  custom: {
    50: '#756cc3',
    500: '#2235a8',
    950: '#000000',
  },
}
SCSS
$custom: #2235a8;
$custom-light: #756cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2235a8",
  "rgb": {
    "r": 34,
    "g": 53,
    "b": 168
  },
  "hsl": {
    "h": 231.493,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39929,
    "c": 0.18358,
    "h": 268.6
  },
  "luminance": 0.05713
}

Semantic roles & 50–950 ramp

primary
#2235A8
secondary
#C5B761
accent
#D13FE9
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2235A8

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

Preview Lab → · Contrast checker → · Palette generator →

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