#233BAB#233BAB

#233BAB is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.3% C 0.180 H 267.8°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#233BAB
RGBrgb(35, 59, 171)
HSLhsl(229, 66%, 40%)
HSVhsv(229, 80%, 67%)
CMYKcmyk(79.5%, 65.5%, 0%, 32.9%)
CIE-LABlab(30.46, 32.64, -62.24)
CIE-LCHlch(30.46, 70.28, 297.67°)
OKLaboklab(41.33% -0.007 -0.1802)
OKLCHoklch(41.33% 0.18 267.8)
XYZxyz(9.6052, 6.4244, 39.2540)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233BAB #AB9323
analogous
#237FAB #233BAB #4F23AB
triadic
#233BAB #AB233B #3BAB23
tetradic
#233BAB #AB237F #AB9323 #23AB4F
square
#233BAB #AB237F #AB9323 #23AB4F
split-complementary
#233BAB #AB4F23 #7FAB23
monochromatic
#0E1845 #192978 #233BAB #3552D6 #687DE0

Accessibility & contrast

On white

9.19
#233BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#233BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233BAB
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233BAB#FFFFFF#000000##FFFFFF
##233BAB1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAF
Deuteranopia (green-blind)
#0041A9
Tritanopia (blue-blind)
#00596D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #233bab;
/* rgb */ color: rgb(35, 59, 171);
/* oklch */ color: oklch(41.3% 0.180 267.8);
Tailwind
colors: {
  custom: {
    50: '#7571c5',
    500: '#233bab',
    950: '#000000',
  },
}
SCSS
$custom: #233bab;
$custom-light: #7571c5;
$custom-dark: #000000;
JSON
{
  "hex": "#233bab",
  "rgb": {
    "r": 35,
    "g": 59,
    "b": 171
  },
  "hsl": {
    "h": 229.412,
    "s": 66.019,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41331,
    "c": 0.1803,
    "h": 267.8
  },
  "luminance": 0.06426
}

Semantic roles & 50–950 ramp

primary
#233BAB
secondary
#C6B564
accent
#CB3FE9
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #233BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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