#235BAA#235BAA

#235BAA is a mid, vivid blue. Relative luminance 0.107; OKLCH L 47.9% C 0.140 H 257.8°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#235BAA
RGBrgb(35, 91, 170)
HSLhsl(215, 66%, 40%)
HSVhsv(215, 79%, 67%)
CMYKcmyk(79.4%, 46.5%, 0%, 33.3%)
CIE-LABlab(39.14, 10.96, -47.55)
CIE-LCHlch(39.14, 48.79, 282.98°)
OKLaboklab(47.86% -0.0295 -0.1365)
OKLCHoklch(47.86% 0.14 257.8)
XYZxyz(11.6873, 10.7404, 39.4796)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235BAA #AA7223
analogous
#239FAA #235BAA #2E23AA
triadic
#235BAA #AA235B #5BAA23
tetradic
#235BAA #AA239F #AA7223 #23AA2E
square
#235BAA #AA239F #AA7223 #23AA2E
split-complementary
#235BAA #AA2E23 #9FAA23
monochromatic
#0E2544 #194077 #235BAA #3577D5 #6899E0

Accessibility & contrast

On white

6.67
#235BAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#235BAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #235BAA
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235BAA#FFFFFF#000000##FFFFFF
##235BAA1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3163AD
Deuteranopia (green-blind)
#0E56A8
Tritanopia (blue-blind)
#006E7A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #235baa;
/* rgb */ color: rgb(35, 91, 170);
/* oklch */ color: oklch(47.9% 0.140 257.8);
Tailwind
colors: {
  custom: {
    50: '#7388c4',
    500: '#235baa',
    950: '#000000',
  },
}
SCSS
$custom: #235baa;
$custom-light: #7388c4;
$custom-dark: #000000;
JSON
{
  "hex": "#235baa",
  "rgb": {
    "r": 35,
    "g": 91,
    "b": 170
  },
  "hsl": {
    "h": 215.111,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47859,
    "c": 0.1396,
    "h": 257.8
  },
  "luminance": 0.10742
}

Semantic roles & 50–950 ramp

primary
#235BAA
secondary
#C69D63
accent
#A23FE9
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B13
muted
#7B7C82

Preview Lab

Preview with #235BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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