#233CA7#233CA7

#233CA7 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.1% C 0.174 H 267.5°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#233CA7
RGBrgb(35, 60, 167)
HSLhsl(229, 65%, 40%)
HSVhsv(229, 79%, 65%)
CMYKcmyk(79%, 64.1%, 0%, 34.5%)
CIE-LABlab(30.35, 30.48, -60.03)
CIE-LCHlch(30.35, 67.32, 296.92°)
OKLaboklab(41.14% -0.0074 -0.1737)
OKLCHoklch(41.14% 0.174 267.5)
XYZxyz(9.2816, 6.3780, 37.2936)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233CA7 #A78E23
analogous
#237EA7 #233CA7 #4C23A7
triadic
#233CA7 #A7233C #3CA723
tetradic
#233CA7 #A7237E #A78E23 #23A74C
square
#233CA7 #A7237E #A78E23 #23A74C
split-complementary
#233CA7 #A74C23 #7EA723
monochromatic
#0E1842 #182A74 #233CA7 #3352D4 #667DDF

Accessibility & contrast

On white

9.23
#233CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #233CA7
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233CA7#FFFFFF#000000##FFFFFF
##233CA71.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAA
Deuteranopia (green-blind)
#0041A5
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #233ca7;
/* rgb */ color: rgb(35, 60, 167);
/* oklch */ color: oklch(41.1% 0.174 267.5);
Tailwind
colors: {
  custom: {
    50: '#7471c2',
    500: '#233ca7',
    950: '#000000',
  },
}
SCSS
$custom: #233ca7;
$custom-light: #7471c2;
$custom-dark: #000000;
JSON
{
  "hex": "#233ca7",
  "rgb": {
    "r": 35,
    "g": 60,
    "b": 167
  },
  "hsl": {
    "h": 228.636,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41138,
    "c": 0.17383,
    "h": 267.5
  },
  "luminance": 0.06379
}

Semantic roles & 50–950 ramp

primary
#233CA7
secondary
#C4B261
accent
#C83FE8
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #233CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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