#233F81#233F81

#233F81 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.5% C 0.117 H 264.3°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#233F81
RGBrgb(35, 63, 129)
HSLhsl(222, 57%, 32%)
HSVhsv(222, 73%, 51%)
CMYKcmyk(72.9%, 51.2%, 0%, 49.4%)
CIE-LABlab(28.11, 13.64, -40.40)
CIE-LCHlch(28.11, 42.64, 288.66°)
OKLaboklab(38.5% -0.0115 -0.116)
OKLCHoklch(38.5% 0.117 264.3)
XYZxyz(6.4317, 5.4967, 21.4866)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233F81 #816523
analogous
#236E81 #233F81 #362381
triadic
#233F81 #81233F #3F8123
tetradic
#233F81 #81236E #816523 #238136
square
#233F81 #81236E #816523 #238136
split-complementary
#233F81 #813623 #6E8123
monochromatic
#091021 #162751 #233F81 #3057B1 #4F75CF

Accessibility & contrast

On white

10.00
#233F81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#233F81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233F81
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233F81#FFFFFF#000000##FFFFFF
##233F811.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194783
Deuteranopia (green-blind)
#003E80
Tritanopia (blue-blind)
#004F5A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #233f81;
/* rgb */ color: rgb(35, 63, 129);
/* oklch */ color: oklch(38.5% 0.117 264.3);
Tailwind
colors: {
  custom: {
    50: '#6b73a6',
    500: '#233f81',
    950: '#000000',
  },
}
SCSS
$custom: #233f81;
$custom-light: #6b73a6;
$custom-dark: #000000;
JSON
{
  "hex": "#233f81",
  "rgb": {
    "r": 35,
    "g": 63,
    "b": 129
  },
  "hsl": {
    "h": 222.128,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38497,
    "c": 0.11653,
    "h": 264.3
  },
  "luminance": 0.05497
}

Semantic roles & 50–950 ramp

primary
#233F81
secondary
#B3954D
accent
#B347E1
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #233F81

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

Preview Lab → · Contrast checker → · Palette generator →

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