#2235BD#2235BD

#2235BD is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.1% C 0.210 H 268.2°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#2235BD
RGBrgb(34, 53, 189)
HSLhsl(233, 70%, 44%)
HSVhsv(233, 82%, 74%)
CMYKcmyk(82%, 72%, 0%, 25.9%)
CIE-LABlab(30.78, 42.86, -72.41)
CIE-LCHlch(30.78, 84.15, 300.62°)
OKLaboklab(42.08% -0.0066 -0.2099)
OKLCHoklch(42.08% 0.21 268.2)
XYZxyz(11.1149, 6.5591, 48.8145)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2235BD #BDAA22
analogous
#2282BD #2235BD #5C22BD
triadic
#2235BD #BD2235 #35BD22
tetradic
#2235BD #BD2282 #BDAA22 #22BD5C
square
#2235BD #BD2282 #BDAA22 #22BD5C
split-complementary
#2235BD #BD5C22 #82BD22
monochromatic
#0F1855 #192689 #2235BD #4053DD #7382E6

Accessibility & contrast

On white

9.08
#2235BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2235BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2235BD
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2235BD#FFFFFF#000000##FFFFFF
##2235BD1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C1
Deuteranopia (green-blind)
#0041BB
Tritanopia (blue-blind)
#005C75
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2235bd;
/* rgb */ color: rgb(34, 53, 189);
/* oklch */ color: oklch(42.1% 0.210 268.2);
Tailwind
colors: {
  custom: {
    50: '#7a6dd2',
    500: '#2235bd',
    950: '#000000',
  },
}
SCSS
$custom: #2235bd;
$custom-light: #7a6dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#2235bd",
  "rgb": {
    "r": 34,
    "g": 53,
    "b": 189
  },
  "hsl": {
    "h": 232.645,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42084,
    "c": 0.20996,
    "h": 268.2
  },
  "luminance": 0.0656
}

Semantic roles & 50–950 ramp

primary
#2235BD
secondary
#CDC16E
accent
#D73BEC
background
#F8F6FD
surface
#EFEBFA
border
#CAC6D3
text
#0B0714
muted
#7C7A83

Preview Lab

Preview with #2235BD

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

Preview Lab → · Contrast checker → · Palette generator →

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