#233FA1#233FA1

#233FA1 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.2% C 0.162 H 266.7°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#233FA1
RGBrgb(35, 63, 161)
HSLhsl(227, 64%, 38%)
HSVhsv(227, 78%, 63%)
CMYKcmyk(78.3%, 60.9%, 0%, 36.9%)
CIE-LABlab(30.60, 26.18, -55.99)
CIE-LCHlch(30.60, 61.81, 295.06°)
OKLaboklab(41.17% -0.0093 -0.1618)
OKLCHoklch(41.17% 0.162 266.7)
XYZxyz(8.9014, 6.4845, 34.4938)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233FA1 #A18523
analogous
#237EA1 #233FA1 #4623A1
triadic
#233FA1 #A1233F #3FA123
tetradic
#233FA1 #A1237E #A18523 #23A146
square
#233FA1 #A1237E #A18523 #23A146
split-complementary
#233FA1 #A14623 #7EA123
monochromatic
#0D183C #182B6F #233FA1 #2F53D2 #627DDD

Accessibility & contrast

On white

9.14
#233FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#233FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233FA1
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233FA1#FFFFFF#000000##FFFFFF
##233FA11.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#00429F
Tritanopia (blue-blind)
#00586A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #233fa1;
/* rgb */ color: rgb(35, 63, 161);
/* oklch */ color: oklch(41.2% 0.162 266.7);
Tailwind
colors: {
  custom: {
    50: '#7373be',
    500: '#233fa1',
    950: '#000000',
  },
}
SCSS
$custom: #233fa1;
$custom-light: #7373be;
$custom-dark: #000000;
JSON
{
  "hex": "#233fa1",
  "rgb": {
    "r": 35,
    "g": 63,
    "b": 161
  },
  "hsl": {
    "h": 226.667,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41166,
    "c": 0.16207,
    "h": 266.7
  },
  "luminance": 0.06486
}

Semantic roles & 50–950 ramp

primary
#233FA1
secondary
#C2AC5E
accent
#C241E7
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #233FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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