#233F91#233F91

#233F91 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.8% C 0.140 H 265.9°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#233F91
RGBrgb(35, 63, 145)
HSLhsl(225, 61%, 35%)
HSVhsv(225, 76%, 57%)
CMYKcmyk(75.9%, 56.6%, 0%, 43.1%)
CIE-LABlab(29.30, 19.95, -48.37)
CIE-LCHlch(29.30, 52.32, 292.42°)
OKLaboklab(39.78% -0.0099 -0.1394)
OKLCHoklch(39.78% 0.14 265.9)
XYZxyz(7.5797, 5.9558, 27.5327)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233F91 #917523
analogous
#237691 #233F91 #3E2391
triadic
#233F91 #91233F #3F9123
tetradic
#233F91 #912376 #917523 #23913E
square
#233F91 #912376 #917523 #23913E
split-complementary
#233F91 #913E23 #769123
monochromatic
#0B142E #172A60 #233F91 #2F54C2 #5878D7

Accessibility & contrast

On white

9.58
#233F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#233F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233F91
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233F91#FFFFFF#000000##FFFFFF
##233F911.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A94
Deuteranopia (green-blind)
#00408F
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #233f91;
/* rgb */ color: rgb(35, 63, 145);
/* oklch */ color: oklch(39.8% 0.140 265.9);
Tailwind
colors: {
  custom: {
    50: '#6f73b2',
    500: '#233f91',
    950: '#000000',
  },
}
SCSS
$custom: #233f91;
$custom-light: #6f73b2;
$custom-dark: #000000;
JSON
{
  "hex": "#233f91",
  "rgb": {
    "r": 35,
    "g": 63,
    "b": 145
  },
  "hsl": {
    "h": 224.727,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39783,
    "c": 0.13976,
    "h": 265.9
  },
  "luminance": 0.05957
}

Semantic roles & 50–950 ramp

primary
#233F91
secondary
#BBA155
accent
#BB44E4
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #233F91

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

Preview Lab → · Contrast checker → · Palette generator →

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