#233BA1#233BA1

#233BA1 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.4% C 0.167 H 267.7°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#233BA1
RGBrgb(35, 59, 161)
HSLhsl(229, 64%, 38%)
HSVhsv(229, 78%, 63%)
CMYKcmyk(78.3%, 63.4%, 0%, 36.9%)
CIE-LABlab(29.56, 28.86, -57.70)
CIE-LCHlch(29.56, 64.52, 296.58°)
OKLaboklab(40.39% -0.0067 -0.1669)
OKLCHoklch(40.39% 0.167 267.7)
XYZxyz(8.6879, 6.0575, 34.4226)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233BA1 #A18923
analogous
#237AA1 #233BA1 #4A23A1
triadic
#233BA1 #A1233B #3BA123
tetradic
#233BA1 #A1237A #A18923 #23A14A
square
#233BA1 #A1237A #A18923 #23A14A
split-complementary
#233BA1 #A14A23 #7AA123
monochromatic
#0D163C #18296F #233BA1 #2F4ED2 #6279DD

Accessibility & contrast

On white

9.50
#233BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#233BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233BA1
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233BA1#FFFFFF#000000##FFFFFF
##233BA11.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA4
Deuteranopia (green-blind)
#00409F
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #233ba1;
/* rgb */ color: rgb(35, 59, 161);
/* oklch */ color: oklch(40.4% 0.167 267.7);
Tailwind
colors: {
  custom: {
    50: '#7370be',
    500: '#233ba1',
    950: '#000000',
  },
}
SCSS
$custom: #233ba1;
$custom-light: #7370be;
$custom-dark: #000000;
JSON
{
  "hex": "#233ba1",
  "rgb": {
    "r": 35,
    "g": 59,
    "b": 161
  },
  "hsl": {
    "h": 228.571,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4039,
    "c": 0.16699,
    "h": 267.7
  },
  "luminance": 0.06058
}

Semantic roles & 50–950 ramp

primary
#233BA1
secondary
#C2AF5E
accent
#C841E7
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #233BA1

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

Preview Lab → · Contrast checker → · Palette generator →

#233BA1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva