#233CA8#233CA8

#233CA8 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.2% C 0.175 H 267.6°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#233CA8
RGBrgb(35, 60, 168)
HSLhsl(229, 66%, 40%)
HSVhsv(229, 79%, 66%)
CMYKcmyk(79.2%, 64.3%, 0%, 34.1%)
CIE-LABlab(30.44, 30.86, -60.48)
CIE-LCHlch(30.44, 67.90, 297.03°)
OKLaboklab(41.23% -0.0075 -0.175)
OKLCHoklch(41.23% 0.175 267.6)
XYZxyz(9.3744, 6.4151, 37.7824)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233CA8 #A88F23
analogous
#237EA8 #233CA8 #4D23A8
triadic
#233CA8 #A8233C #3CA823
tetradic
#233CA8 #A8237E #A88F23 #23A84D
square
#233CA8 #A8237E #A88F23 #23A84D
split-complementary
#233CA8 #A84D23 #7EA823
monochromatic
#0E1843 #182A75 #233CA8 #3452D5 #667DDF

Accessibility & contrast

On white

9.20
#233CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#233CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233CA8
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233CA8#FFFFFF#000000##FFFFFF
##233CA81.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAB
Deuteranopia (green-blind)
#0041A6
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #233ca8;
/* rgb */ color: rgb(35, 60, 168);
/* oklch */ color: oklch(41.2% 0.175 267.6);
Tailwind
colors: {
  custom: {
    50: '#7571c3',
    500: '#233ca8',
    950: '#000000',
  },
}
SCSS
$custom: #233ca8;
$custom-light: #7571c3;
$custom-dark: #000000;
JSON
{
  "hex": "#233ca8",
  "rgb": {
    "r": 35,
    "g": 60,
    "b": 168
  },
  "hsl": {
    "h": 228.722,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41231,
    "c": 0.17515,
    "h": 267.6
  },
  "luminance": 0.06416
}

Semantic roles & 50–950 ramp

primary
#233CA8
secondary
#C5B262
accent
#C93FE8
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #233CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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