#235AB1#235AB1

#235AB1 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.1% C 0.150 H 259.5°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#235AB1
RGBrgb(35, 90, 177)
HSLhsl(217, 67%, 42%)
HSVhsv(217, 80%, 69%)
CMYKcmyk(80.2%, 49.2%, 0%, 30.6%)
CIE-LABlab(39.31, 14.36, -51.40)
CIE-LCHlch(39.31, 53.37, 285.61°)
OKLaboklab(48.14% -0.0275 -0.1478)
OKLCHoklch(48.14% 0.15 259.5)
XYZxyz(12.2822, 10.8425, 43.0319)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235AB1 #B17A23
analogous
#23A1B1 #235AB1 #3323B1
triadic
#235AB1 #B1235A #5AB123
tetradic
#235AB1 #B123A1 #B17A23 #23B133
square
#235AB1 #B123A1 #B17A23 #23B133
split-complementary
#235AB1 #B13323 #A1B123
monochromatic
#0F264B #19407E #235AB1 #3977D8 #6C9AE2

Accessibility & contrast

On white

6.63
#235AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#235AB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #235AB1
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235AB1#FFFFFF#000000##FFFFFF
##235AB11.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2763B4
Deuteranopia (green-blind)
#0057AF
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #235ab1;
/* rgb */ color: rgb(35, 90, 177);
/* oklch */ color: oklch(48.1% 0.150 259.5);
Tailwind
colors: {
  custom: {
    50: '#7588c9',
    500: '#235ab1',
    950: '#000000',
  },
}
SCSS
$custom: #235ab1;
$custom-light: #7588c9;
$custom-dark: #000000;
JSON
{
  "hex": "#235ab1",
  "rgb": {
    "r": 35,
    "g": 90,
    "b": 177
  },
  "hsl": {
    "h": 216.761,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48141,
    "c": 0.15036,
    "h": 259.5
  },
  "luminance": 0.10844
}

Semantic roles & 50–950 ramp

primary
#235AB1
secondary
#C8A368
accent
#A73EEA
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #235AB1

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

Preview Lab → · Contrast checker → · Palette generator →

#235AB1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva