#233F9B#233F9B

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

Color values

HEX#233F9B
RGBrgb(35, 63, 155)
HSLhsl(226, 63%, 37%)
HSVhsv(226, 77%, 61%)
CMYKcmyk(77.4%, 59.4%, 0%, 39.2%)
CIE-LABlab(30.10, 23.86, -53.17)
CIE-LCHlch(30.10, 58.28, 294.17°)
OKLaboklab(40.64% -0.0094 -0.1535)
OKLCHoklch(40.64% 0.154 266.5)
XYZxyz(8.3850, 6.2780, 31.7738)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233F9B #9B7F23
analogous
#237B9B #233F9B #43239B
triadic
#233F9B #9B233F #3F9B23
tetradic
#233F9B #9B237B #9B7F23 #239B43
square
#233F9B #9B237B #9B7F23 #239B43
split-complementary
#233F9B #9B4323 #7B9B23
monochromatic
#0C1637 #182B69 #233F9B #2E53CD #5E7BDB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##233F9B#FFFFFF#000000##FFFFFF
##233F9B1.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)
#004D9E
Deuteranopia (green-blind)
#004299
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #233f9b;
/* rgb */ color: rgb(35, 63, 155);
/* oklch */ color: oklch(40.6% 0.154 266.5);
Tailwind
colors: {
  custom: {
    50: '#7173b9',
    500: '#233f9b',
    950: '#000000',
  },
}
SCSS
$custom: #233f9b;
$custom-light: #7173b9;
$custom-dark: #000000;
JSON
{
  "hex": "#233f9b",
  "rgb": {
    "r": 35,
    "g": 63,
    "b": 155
  },
  "hsl": {
    "h": 226,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40637,
    "c": 0.15381,
    "h": 266.5
  },
  "luminance": 0.06279
}

Semantic roles & 50–950 ramp

primary
#233F9B
secondary
#BFA85A
accent
#C042E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #233F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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