#233A91#233A91

#233A91 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.7% C 0.146 H 267.6°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#233A91
RGBrgb(35, 58, 145)
HSLhsl(227, 61%, 35%)
HSVhsv(227, 76%, 57%)
CMYKcmyk(75.9%, 60%, 0%, 43.1%)
CIE-LABlab(27.92, 23.38, -50.62)
CIE-LCHlch(27.92, 55.75, 294.79°)
OKLaboklab(38.75% -0.006 -0.1461)
OKLCHoklch(38.75% 0.146 267.6)
XYZxyz(7.3153, 5.4270, 27.4446)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233A91 #917A23
analogous
#237191 #233A91 #432391
triadic
#233A91 #91233A #3A9123
tetradic
#233A91 #912371 #917A23 #239143
square
#233A91 #912371 #917A23 #239143
split-complementary
#233A91 #914323 #719123
monochromatic
#0B132E #172660 #233A91 #2F4EC2 #5872D7

Accessibility & contrast

On white

10.07
#233A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#233A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233A91
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233A91#FFFFFF#000000##FFFFFF
##233A911.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004794
Deuteranopia (green-blind)
#003D8F
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #233a91;
/* rgb */ color: rgb(35, 58, 145);
/* oklch */ color: oklch(38.7% 0.146 267.6);
Tailwind
colors: {
  custom: {
    50: '#6f6fb2',
    500: '#233a91',
    950: '#000000',
  },
}
SCSS
$custom: #233a91;
$custom-light: #6f6fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#233a91",
  "rgb": {
    "r": 35,
    "g": 58,
    "b": 145
  },
  "hsl": {
    "h": 227.455,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38746,
    "c": 0.14622,
    "h": 267.6
  },
  "luminance": 0.05428
}

Semantic roles & 50–950 ramp

primary
#233A91
secondary
#BBA655
accent
#C344E4
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #233A91

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

Preview Lab → · Contrast checker → · Palette generator →

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