#233BA7#233BA7

#233BA7 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.0% C 0.175 H 267.8°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#233BA7
RGBrgb(35, 59, 167)
HSLhsl(229, 65%, 40%)
HSVhsv(229, 79%, 65%)
CMYKcmyk(79%, 64.7%, 0%, 34.5%)
CIE-LABlab(30.09, 31.14, -60.44)
CIE-LCHlch(30.09, 67.99, 297.26°)
OKLaboklab(40.95% -0.0069 -0.1749)
OKLCHoklch(40.95% 0.175 267.8)
XYZxyz(9.2297, 6.2742, 37.2763)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233BA7 #A78F23
analogous
#237DA7 #233BA7 #4D23A7
triadic
#233BA7 #A7233B #3BA723
tetradic
#233BA7 #A7237D #A78F23 #23A74D
square
#233BA7 #A7237D #A78F23 #23A74D
split-complementary
#233BA7 #A74D23 #7DA723
monochromatic
#0E1742 #182974 #233BA7 #3350D4 #667CDF

Accessibility & contrast

On white

9.31
#233BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #233BA7
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233BA7#FFFFFF#000000##FFFFFF
##233BA71.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAA
Deuteranopia (green-blind)
#0041A5
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #233ba7;
/* rgb */ color: rgb(35, 59, 167);
/* oklch */ color: oklch(41.0% 0.175 267.8);
Tailwind
colors: {
  custom: {
    50: '#7470c2',
    500: '#233ba7',
    950: '#000000',
  },
}
SCSS
$custom: #233ba7;
$custom-light: #7470c2;
$custom-dark: #000000;
JSON
{
  "hex": "#233ba7",
  "rgb": {
    "r": 35,
    "g": 59,
    "b": 167
  },
  "hsl": {
    "h": 229.091,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40951,
    "c": 0.17502,
    "h": 267.8
  },
  "luminance": 0.06275
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #233BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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