#233FA8#233FA8

#233FA8 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.8% C 0.172 H 266.9°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#233FA8
RGBrgb(35, 63, 168)
HSLhsl(227, 66%, 40%)
HSVhsv(227, 79%, 66%)
CMYKcmyk(79.2%, 62.5%, 0%, 34.1%)
CIE-LABlab(31.20, 28.87, -59.22)
CIE-LCHlch(31.20, 65.89, 295.99°)
OKLaboklab(41.8% -0.0093 -0.1713)
OKLCHoklch(41.8% 0.172 266.9)
XYZxyz(9.5361, 6.7384, 37.8363)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233FA8 #A88C23
analogous
#2382A8 #233FA8 #4923A8
triadic
#233FA8 #A8233F #3FA823
tetradic
#233FA8 #A82382 #A88C23 #23A849
square
#233FA8 #A82382 #A88C23 #23A849
split-complementary
#233FA8 #A84923 #82A823
monochromatic
#0E1943 #182C75 #233FA8 #3455D5 #6680DF

Accessibility & contrast

On white

8.94
#233FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#233FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233FA8
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233FA8#FFFFFF#000000##FFFFFF
##233FA81.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AB
Deuteranopia (green-blind)
#0043A6
Tritanopia (blue-blind)
#005A6D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #233fa8;
/* rgb */ color: rgb(35, 63, 168);
/* oklch */ color: oklch(41.8% 0.172 266.9);
Tailwind
colors: {
  custom: {
    50: '#7473c3',
    500: '#233fa8',
    950: '#000000',
  },
}
SCSS
$custom: #233fa8;
$custom-light: #7473c3;
$custom-dark: #000000;
JSON
{
  "hex": "#233fa8",
  "rgb": {
    "r": 35,
    "g": 63,
    "b": 168
  },
  "hsl": {
    "h": 227.368,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41798,
    "c": 0.17153,
    "h": 266.9
  },
  "luminance": 0.06739
}

Semantic roles & 50–950 ramp

primary
#233FA8
secondary
#C5B062
accent
#C53FE8
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #233FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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