#233AAB#233AAB

#233AAB is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.1% C 0.181 H 268.0°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#233AAB
RGBrgb(35, 58, 171)
HSLhsl(230, 66%, 40%)
HSVhsv(230, 80%, 67%)
CMYKcmyk(79.5%, 66.1%, 0%, 32.9%)
CIE-LABlab(30.21, 33.29, -62.65)
CIE-LCHlch(30.21, 70.94, 297.99°)
OKLaboklab(41.15% -0.0065 -0.1813)
OKLCHoklch(41.15% 0.181 268)
XYZxyz(9.5543, 6.3226, 39.2370)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233AAB #AB9423
analogous
#237EAB #233AAB #5023AB
triadic
#233AAB #AB233A #3AAB23
tetradic
#233AAB #AB237E #AB9423 #23AB50
square
#233AAB #AB237E #AB9423 #23AB50
split-complementary
#233AAB #AB5023 #7EAB23
monochromatic
#0E1845 #192978 #233AAB #3551D6 #687DE0

Accessibility & contrast

On white

9.27
#233AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#233AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233AAB
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233AAB#FFFFFF#000000##FFFFFF
##233AAB1.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #233aab;
/* rgb */ color: rgb(35, 58, 171);
/* oklch */ color: oklch(41.1% 0.181 268.0);
Tailwind
colors: {
  custom: {
    50: '#7570c5',
    500: '#233aab',
    950: '#000000',
  },
}
SCSS
$custom: #233aab;
$custom-light: #7570c5;
$custom-dark: #000000;
JSON
{
  "hex": "#233aab",
  "rgb": {
    "r": 35,
    "g": 58,
    "b": 171
  },
  "hsl": {
    "h": 229.853,
    "s": 66.019,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4115,
    "c": 0.18147,
    "h": 268
  },
  "luminance": 0.06324
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #233AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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